diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index dc229f3..e40c689 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -434,6 +434,7 @@ namespace OpenSim.Region.ClientStack | |||
434 | public event RequestTaskInventory OnRequestTaskInventory; | 434 | public event RequestTaskInventory OnRequestTaskInventory; |
435 | public event UpdateInventoryItem OnUpdateInventoryItem; | 435 | public event UpdateInventoryItem OnUpdateInventoryItem; |
436 | public event CopyInventoryItem OnCopyInventoryItem; | 436 | public event CopyInventoryItem OnCopyInventoryItem; |
437 | public event MoveInventoryItem OnMoveInventoryItem; | ||
437 | public event UDPAssetUploadRequest OnAssetUploadRequest; | 438 | public event UDPAssetUploadRequest OnAssetUploadRequest; |
438 | public event XferReceive OnXferReceive; | 439 | public event XferReceive OnXferReceive; |
439 | public event RequestXfer OnRequestXfer; | 440 | public event RequestXfer OnRequestXfer; |
@@ -2880,6 +2881,16 @@ namespace OpenSim.Region.ClientStack | |||
2880 | } | 2881 | } |
2881 | } | 2882 | } |
2882 | break; | 2883 | break; |
2884 | case PacketType.MoveInventoryItem: | ||
2885 | MoveInventoryItemPacket moveitem = (MoveInventoryItemPacket)Pack; | ||
2886 | if (OnMoveInventoryItem != null) | ||
2887 | { | ||
2888 | foreach (MoveInventoryItemPacket.InventoryDataBlock datablock in moveitem.InventoryData) | ||
2889 | { | ||
2890 | OnMoveInventoryItem(this, datablock.FolderID, datablock.ItemID, datablock.Length, Util.FieldToString(datablock.NewName)); | ||
2891 | } | ||
2892 | } | ||
2893 | break; | ||
2883 | case PacketType.RequestTaskInventory: | 2894 | case PacketType.RequestTaskInventory: |
2884 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket) Pack; | 2895 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket) Pack; |
2885 | if (OnRequestTaskInventory != null) | 2896 | if (OnRequestTaskInventory != null) |