diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 19 | ||||
-rw-r--r-- | OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | 8 |
2 files changed, 24 insertions, 3 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index d1a0440..7c347e6 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -593,6 +593,7 @@ namespace OpenSim.Client.MXP.ClientStack | |||
593 | public event DisconnectUser OnDisconnectUser; | 593 | public event DisconnectUser OnDisconnectUser; |
594 | public event RequestAvatarProperties OnRequestAvatarProperties; | 594 | public event RequestAvatarProperties OnRequestAvatarProperties; |
595 | public event SetAlwaysRun OnSetAlwaysRun; | 595 | public event SetAlwaysRun OnSetAlwaysRun; |
596 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy; | ||
596 | public event TeleportLandmarkRequest OnTeleportLandmarkRequest; | 597 | public event TeleportLandmarkRequest OnTeleportLandmarkRequest; |
597 | public event DeRezObject OnDeRezObject; | 598 | public event DeRezObject OnDeRezObject; |
598 | public event Action<IClientAPI> OnRegionHandShakeReply; | 599 | public event Action<IClientAPI> OnRegionHandShakeReply; |
@@ -835,10 +836,18 @@ namespace OpenSim.Client.MXP.ClientStack | |||
835 | 836 | ||
836 | public void Close() | 837 | public void Close() |
837 | { | 838 | { |
839 | Close(true); | ||
840 | } | ||
841 | |||
842 | public void Close(bool sendStop) | ||
843 | { | ||
838 | m_log.Info("[MXP ClientStack] Close Called"); | 844 | m_log.Info("[MXP ClientStack] Close Called"); |
839 | 845 | ||
840 | // Tell the client to go | 846 | // Tell the client to go |
841 | SendLogoutPacket(); | 847 | if (sendStop == true) |
848 | { | ||
849 | SendLogoutPacket(); | ||
850 | } | ||
842 | 851 | ||
843 | // Let MXPPacketServer clean it up | 852 | // Let MXPPacketServer clean it up |
844 | if (Session.SessionState != SessionState.Disconnected) | 853 | if (Session.SessionState != SessionState.Disconnected) |
@@ -884,7 +893,13 @@ namespace OpenSim.Client.MXP.ClientStack | |||
884 | // Need to translate to MXP somehow | 893 | // Need to translate to MXP somehow |
885 | } | 894 | } |
886 | 895 | ||
887 | public void SendKillObject(ulong regionHandle, uint localID) | 896 | public void SendKillObject(ulong regionHandle, List<uint> localIDs) |
897 | { | ||
898 | foreach (uint localID in localIDs) | ||
899 | SendKillObject(regionHandle, localID); | ||
900 | } | ||
901 | |||
902 | private void SendKillObject(ulong regionHandle, uint localID) | ||
888 | { | 903 | { |
889 | DisappearanceEventMessage de = new DisappearanceEventMessage(); | 904 | DisappearanceEventMessage de = new DisappearanceEventMessage(); |
890 | de.ObjectIndex = localID; | 905 | de.ObjectIndex = localID; |
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs index fc27f01..120e2ea 100644 --- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs +++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | |||
@@ -290,6 +290,7 @@ namespace OpenSim.Client.VWoHTTP.ClientStack | |||
290 | public event GenericCall2 OnStopMovement = delegate { }; | 290 | public event GenericCall2 OnStopMovement = delegate { }; |
291 | public event Action<UUID> OnRemoveAvatar = delegate { }; | 291 | public event Action<UUID> OnRemoveAvatar = delegate { }; |
292 | public event ObjectPermissions OnObjectPermissions = delegate { }; | 292 | public event ObjectPermissions OnObjectPermissions = delegate { }; |
293 | public event MoveItemsAndLeaveCopy OnMoveItemsAndLeaveCopy = delegate { }; | ||
293 | public event CreateNewInventoryItem OnCreateNewInventoryItem = delegate { }; | 294 | public event CreateNewInventoryItem OnCreateNewInventoryItem = delegate { }; |
294 | public event LinkInventoryItem OnLinkInventoryItem = delegate { }; | 295 | public event LinkInventoryItem OnLinkInventoryItem = delegate { }; |
295 | public event CreateInventoryFolder OnCreateNewInventoryFolder = delegate { }; | 296 | public event CreateInventoryFolder OnCreateNewInventoryFolder = delegate { }; |
@@ -452,6 +453,11 @@ namespace OpenSim.Client.VWoHTTP.ClientStack | |||
452 | 453 | ||
453 | public void Close() | 454 | public void Close() |
454 | { | 455 | { |
456 | Close(true); | ||
457 | } | ||
458 | |||
459 | public void Close(bool sendStop) | ||
460 | { | ||
455 | throw new System.NotImplementedException(); | 461 | throw new System.NotImplementedException(); |
456 | } | 462 | } |
457 | 463 | ||
@@ -485,7 +491,7 @@ namespace OpenSim.Client.VWoHTTP.ClientStack | |||
485 | throw new System.NotImplementedException(); | 491 | throw new System.NotImplementedException(); |
486 | } | 492 | } |
487 | 493 | ||
488 | public void SendKillObject(ulong regionHandle, uint localID) | 494 | public void SendKillObject(ulong regionHandle, List<uint> localID) |
489 | { | 495 | { |
490 | throw new System.NotImplementedException(); | 496 | throw new System.NotImplementedException(); |
491 | } | 497 | } |