diff options
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) |