diff options
author | Jeff Ames | 2007-11-18 13:50:46 +0000 |
---|---|---|
committer | Jeff Ames | 2007-11-18 13:50:46 +0000 |
commit | d10c79d4216436fd2a5056dbf853f317967202af (patch) | |
tree | 2474bfe5d0f56f624a19ff112807233e5e335f08 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | * Found several cases where prim set physical were not subscribing to physics... (diff) | |
download | opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.zip opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.tar.gz opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.tar.bz2 opensim-SC_OLD-d10c79d4216436fd2a5056dbf853f317967202af.tar.xz |
first stab at implementation of CopyInventoryItem
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 4336eb4..507bd64 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -563,6 +563,16 @@ namespace OpenSim.Region.ClientStack | |||
563 | } | 563 | } |
564 | }*/ | 564 | }*/ |
565 | break; | 565 | break; |
566 | case PacketType.CopyInventoryItem: | ||
567 | CopyInventoryItemPacket copyitem = (CopyInventoryItemPacket) Pack; | ||
568 | if (OnCopyInventoryItem != null) | ||
569 | { | ||
570 | foreach (CopyInventoryItemPacket.InventoryDataBlock datablock in copyitem.InventoryData) | ||
571 | { | ||
572 | OnCopyInventoryItem(this, datablock.CallbackID, datablock.OldAgentID, datablock.OldItemID, datablock.NewFolderID, Util.FieldToString(datablock.NewName)); | ||
573 | } | ||
574 | } | ||
575 | break; | ||
566 | case PacketType.RequestTaskInventory: | 576 | case PacketType.RequestTaskInventory: |
567 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket) Pack; | 577 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket) Pack; |
568 | if (OnRequestTaskInventory != null) | 578 | if (OnRequestTaskInventory != null) |