diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 029b948..6570a82 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -93,6 +93,7 @@ namespace OpenSim.Region.ClientStack | |||
93 | public event RequestXfer OnRequestXfer; | 93 | public event RequestXfer OnRequestXfer; |
94 | public event ConfirmXfer OnConfirmXfer; | 94 | public event ConfirmXfer OnConfirmXfer; |
95 | public event RezScript OnRezScript; | 95 | public event RezScript OnRezScript; |
96 | public event UpdateTaskInventory OnUpdateTaskInventory; | ||
96 | 97 | ||
97 | public event UUIDNameRequest OnNameFromUUIDRequest; | 98 | public event UUIDNameRequest OnNameFromUUIDRequest; |
98 | 99 | ||
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index c17f453..383c7a9 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -476,6 +476,16 @@ namespace OpenSim.Region.ClientStack | |||
476 | case PacketType.UpdateTaskInventory: | 476 | case PacketType.UpdateTaskInventory: |
477 | //Console.WriteLine(Pack.ToString()); | 477 | //Console.WriteLine(Pack.ToString()); |
478 | UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; | 478 | UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; |
479 | if (OnUpdateTaskInventory != null) | ||
480 | { | ||
481 | if (updatetask.UpdateData.Key == 0) | ||
482 | { | ||
483 | OnUpdateTaskInventory(this, updatetask.InventoryData.ItemID, updatetask.InventoryData.FolderID, updatetask.UpdateData.LocalID); | ||
484 | } | ||
485 | } | ||
486 | break; | ||
487 | case PacketType.MoveTaskInventory: | ||
488 | //Console.WriteLine(Pack.ToString()); | ||
479 | break; | 489 | break; |
480 | case PacketType.RezScript: | 490 | case PacketType.RezScript: |
481 | //Console.WriteLine(Pack.ToString()); | 491 | //Console.WriteLine(Pack.ToString()); |