diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index e40c689..7b6ea97 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -430,6 +430,7 @@ namespace OpenSim.Region.ClientStack | |||
430 | public event CreateNewInventoryItem OnCreateNewInventoryItem; | 430 | public event CreateNewInventoryItem OnCreateNewInventoryItem; |
431 | public event CreateInventoryFolder OnCreateNewInventoryFolder; | 431 | public event CreateInventoryFolder OnCreateNewInventoryFolder; |
432 | public event FetchInventoryDescendents OnFetchInventoryDescendents; | 432 | public event FetchInventoryDescendents OnFetchInventoryDescendents; |
433 | public event PurgeInventoryDescendents OnPurgeInventoryDescendents; | ||
433 | public event FetchInventory OnFetchInventory; | 434 | public event FetchInventory OnFetchInventory; |
434 | public event RequestTaskInventory OnRequestTaskInventory; | 435 | public event RequestTaskInventory OnRequestTaskInventory; |
435 | public event UpdateInventoryItem OnUpdateInventoryItem; | 436 | public event UpdateInventoryItem OnUpdateInventoryItem; |
@@ -2827,6 +2828,13 @@ namespace OpenSim.Region.ClientStack | |||
2827 | Fetch.InventoryData.SortOrder); | 2828 | Fetch.InventoryData.SortOrder); |
2828 | } | 2829 | } |
2829 | break; | 2830 | break; |
2831 | case PacketType.PurgeInventoryDescendents: | ||
2832 | if (OnPurgeInventoryDescendents != null) | ||
2833 | { | ||
2834 | PurgeInventoryDescendentsPacket Purge = (PurgeInventoryDescendentsPacket)Pack; | ||
2835 | OnPurgeInventoryDescendents(this, Purge.InventoryData.FolderID); | ||
2836 | } | ||
2837 | break; | ||
2830 | case PacketType.UpdateInventoryItem: | 2838 | case PacketType.UpdateInventoryItem: |
2831 | UpdateInventoryItemPacket update = (UpdateInventoryItemPacket) Pack; | 2839 | UpdateInventoryItemPacket update = (UpdateInventoryItemPacket) Pack; |
2832 | if (OnUpdateInventoryItem != null) | 2840 | if (OnUpdateInventoryItem != null) |