aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorJeff Ames2009-03-31 05:47:53 +0000
committerJeff Ames2009-03-31 05:47:53 +0000
commit20e1a8d7f62784aacb3d11feaaad07472f8f2347 (patch)
tree085d709fbf601a1fd182fd81d2774353745534dc /OpenSim/Region/ClientStack/LindenUDP
parentThank you kindly, MCortez for a patch that: (diff)
downloadopensim-SC_OLD-20e1a8d7f62784aacb3d11feaaad07472f8f2347.zip
opensim-SC_OLD-20e1a8d7f62784aacb3d11feaaad07472f8f2347.tar.gz
opensim-SC_OLD-20e1a8d7f62784aacb3d11feaaad07472f8f2347.tar.bz2
opensim-SC_OLD-20e1a8d7f62784aacb3d11feaaad07472f8f2347.tar.xz
Thanks rtomita for a patch to add a handler for the RemoveInventoryObjects packet. (bug #3304)
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs29
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