aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMW2007-08-22 18:36:47 +0000
committerMW2007-08-22 18:36:47 +0000
commit47c6d8ae8f85f07a16390f0130180a1b0521b6a1 (patch)
treef1aeac40c1f77eba0642ba35263cc76ed4c60c97 /OpenSim/Region/ClientStack
parent(Untested) Scripts are individually loaded into objects (on rez), and event f... (diff)
downloadopensim-SC_OLD-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.zip
opensim-SC_OLD-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.tar.gz
opensim-SC_OLD-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.tar.bz2
opensim-SC_OLD-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.tar.xz
Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs1
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs7
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;