diff options
Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 6570a82..6209beb 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -94,6 +94,7 @@ namespace OpenSim.Region.ClientStack | |||
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 | public event UpdateTaskInventory OnUpdateTaskInventory; |
97 | public event RemoveTaskInventory OnRemoveTaskItem; | ||
97 | 98 | ||
98 | public event UUIDNameRequest OnNameFromUUIDRequest; | 99 | public event UUIDNameRequest OnNameFromUUIDRequest; |
99 | 100 | ||
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 383c7a9..0163528 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -484,6 +484,13 @@ namespace OpenSim.Region.ClientStack | |||
484 | } | 484 | } |
485 | } | 485 | } |
486 | break; | 486 | break; |
487 | case PacketType.RemoveTaskInventory: | ||
488 | RemoveTaskInventoryPacket removeTask = (RemoveTaskInventoryPacket)Pack; | ||
489 | if (OnRemoveTaskItem != null) | ||
490 | { | ||
491 | OnRemoveTaskItem(this, removeTask.InventoryData.ItemID, removeTask.InventoryData.LocalID); | ||
492 | } | ||
493 | break; | ||
487 | case PacketType.MoveTaskInventory: | 494 | case PacketType.MoveTaskInventory: |
488 | //Console.WriteLine(Pack.ToString()); | 495 | //Console.WriteLine(Pack.ToString()); |
489 | break; | 496 | break; |