aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-02-18 03:25:14 +0000
committerCharles Krinke2008-02-18 03:25:14 +0000
commit2c81e18fc33c12b3adcd4559b88d385779c7be6f (patch)
tree38607fed0f892e0356ba1981bf8458562a419873 /OpenSim/Region/ClientStack/ClientView.cs
parentThank you very much, Hashbox for: (diff)
downloadopensim-SC-2c81e18fc33c12b3adcd4559b88d385779c7be6f.zip
opensim-SC-2c81e18fc33c12b3adcd4559b88d385779c7be6f.tar.gz
opensim-SC-2c81e18fc33c12b3adcd4559b88d385779c7be6f.tar.bz2
opensim-SC-2c81e18fc33c12b3adcd4559b88d385779c7be6f.tar.xz
Thank you very much Ahzzmandius for adding the support
to purge the avatars inventory "Trash" folder using the bizarre tortoiseSVN method of diff/patch.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-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)