aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 4d00c5b..c9a71bd 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -570,6 +570,8 @@ namespace OpenSim.Region.ClientStack
570 public event UpdateInventoryItem OnUpdateInventoryItem; 570 public event UpdateInventoryItem OnUpdateInventoryItem;
571 public event CopyInventoryItem OnCopyInventoryItem; 571 public event CopyInventoryItem OnCopyInventoryItem;
572 public event MoveInventoryItem OnMoveInventoryItem; 572 public event MoveInventoryItem OnMoveInventoryItem;
573 public event RemoveInventoryItem OnRemoveInventoryItem;
574 public event RemoveInventoryFolder OnRemoveInventoryFolder;
573 public event UDPAssetUploadRequest OnAssetUploadRequest; 575 public event UDPAssetUploadRequest OnAssetUploadRequest;
574 public event XferReceive OnXferReceive; 576 public event XferReceive OnXferReceive;
575 public event RequestXfer OnRequestXfer; 577 public event RequestXfer OnRequestXfer;
@@ -3373,6 +3375,26 @@ namespace OpenSim.Region.ClientStack
3373 } 3375 }
3374 } 3376 }
3375 break; 3377 break;
3378 case PacketType.RemoveInventoryItem:
3379 RemoveInventoryItemPacket removeItem = (RemoveInventoryItemPacket)Pack;
3380 if (OnRemoveInventoryItem != null)
3381 {
3382 foreach (RemoveInventoryItemPacket.InventoryDataBlock datablock in removeItem.InventoryData)
3383 {
3384 OnRemoveInventoryItem(this, datablock.ItemID);
3385 }
3386 }
3387 break;
3388 case PacketType.RemoveInventoryFolder:
3389 RemoveInventoryFolderPacket removeFolder = (RemoveInventoryFolderPacket)Pack;
3390 if (OnRemoveInventoryFolder != null)
3391 {
3392 foreach (RemoveInventoryFolderPacket.FolderDataBlock datablock in removeFolder.FolderData)
3393 {
3394 OnRemoveInventoryFolder(this, datablock.FolderID);
3395 }
3396 }
3397 break;
3376 case PacketType.RequestTaskInventory: 3398 case PacketType.RequestTaskInventory:
3377 RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket)Pack; 3399 RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket)Pack;
3378 if (OnRequestTaskInventory != null) 3400 if (OnRequestTaskInventory != null)