diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 52ad5c2..e021849 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -5830,6 +5830,35 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5830 | } | 5830 | } |
5831 | } | 5831 | } |
5832 | break; | 5832 | break; |
5833 | case PacketType.RemoveInventoryObjects: | ||
5834 | RemoveInventoryObjectsPacket removeObject = (RemoveInventoryObjectsPacket)Pack; | ||
5835 | if (OnRemoveInventoryFolder != null) | ||
5836 | { | ||
5837 | handlerRemoveInventoryFolder = null; | ||
5838 | foreach (RemoveInventoryObjectsPacket.FolderDataBlock datablock in removeObject.FolderData) | ||
5839 | { | ||
5840 | handlerRemoveInventoryFolder = OnRemoveInventoryFolder; | ||
5841 | |||
5842 | if (handlerRemoveInventoryFolder != null) | ||
5843 | { | ||
5844 | handlerRemoveInventoryFolder(this, datablock.FolderID); | ||
5845 | } | ||
5846 | } | ||
5847 | } | ||
5848 | |||
5849 | if (OnRemoveInventoryItem != null) | ||
5850 | { | ||
5851 | handlerRemoveInventoryItem = null; | ||
5852 | foreach (RemoveInventoryObjectsPacket.ItemDataBlock datablock in removeObject.ItemData) | ||
5853 | { | ||
5854 | handlerRemoveInventoryItem = OnRemoveInventoryItem; | ||
5855 | if (handlerRemoveInventoryItem != null) | ||
5856 | { | ||
5857 | handlerRemoveInventoryItem(this, datablock.ItemID); | ||
5858 | } | ||
5859 | } | ||
5860 | } | ||
5861 | break; | ||
5833 | case PacketType.RequestTaskInventory: | 5862 | case PacketType.RequestTaskInventory: |
5834 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket)Pack; | 5863 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket)Pack; |
5835 | 5864 | ||