mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Added forgotten file.
Made a change to the Scene.EventManager OnRezScript event, it now includes the itemID as a param. This uuid is unique to each instance of a script, so can be used for tracking changes/editing, stopping and deleting a script.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public event ObjectGrabDelegate OnObjectGrab;
|
||||
public event OnPermissionErrorDelegate OnPermissionError;
|
||||
|
||||
public delegate void NewRezScript(uint localID, string script);
|
||||
public delegate void NewRezScript(uint localID, LLUUID itemID, string script);
|
||||
public event NewRezScript OnRezScript;
|
||||
|
||||
|
||||
@@ -110,11 +110,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
OnObjectGrab(localID, offsetPos, remoteClient);
|
||||
}
|
||||
|
||||
public void TriggerRezScript(uint localID, string script)
|
||||
public void TriggerRezScript(uint localID, LLUUID itemID, string script)
|
||||
{
|
||||
if (OnRezScript != null)
|
||||
{
|
||||
OnRezScript(localID, script);
|
||||
OnRezScript(localID, itemID, script);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user