aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
authorBrian McBee2007-12-08 19:13:10 +0000
committerBrian McBee2007-12-08 19:13:10 +0000
commitbeca2373e15c0541e83f01abedfe7d6bfa469c8b (patch)
treefbee508dbcd24ef171cdc307fcf22318cf4150d3 /OpenSim/Region/ClientStack/ClientView.cs
parent* Added back the regionup code so people in nearby sims can see a downed sim ... (diff)
downloadopensim-SC_OLD-beca2373e15c0541e83f01abedfe7d6bfa469c8b.zip
opensim-SC_OLD-beca2373e15c0541e83f01abedfe7d6bfa469c8b.tar.gz
opensim-SC_OLD-beca2373e15c0541e83f01abedfe7d6bfa469c8b.tar.bz2
opensim-SC_OLD-beca2373e15c0541e83f01abedfe7d6bfa469c8b.tar.xz
Allow moving, deleting, and restoring objects in inventory.
Note: only tested in grid mode, and emptying trash is still not implemented.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs11
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)