aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index b850227..34a7c7a 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -96,6 +96,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
96 get { return "ScriptEngine.DotNetEngine"; } 96 get { return "ScriptEngine.DotNetEngine"; }
97 } 97 }
98 98
99 public IScriptModule ScriptModule
100 {
101 get { return this; }
102 }
103
99 public event ScriptRemoved OnScriptRemoved; 104 public event ScriptRemoved OnScriptRemoved;
100 public event ObjectRemoved OnObjectRemoved; 105 public event ObjectRemoved OnObjectRemoved;
101 106
@@ -212,6 +217,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
212 p.EventName, p.DetectParams, p.Params); 217 p.EventName, p.DetectParams, p.Params);
213 } 218 }
214 219
220 public bool PostScriptEvent(UUID itemID, string name, Object[] p)
221 {
222 return PostScriptEvent(itemID, new EventParams(name, p, new DetectParams[0]));
223 }
224
215 public DetectParams GetDetectParams(UUID itemID, int number) 225 public DetectParams GetDetectParams(UUID itemID, int number)
216 { 226 {
217 uint localID = m_ScriptManager.GetLocalID(itemID); 227 uint localID = m_ScriptManager.GetLocalID(itemID);