aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Interfaces
diff options
context:
space:
mode:
authorMelanie Thielker2009-04-10 19:07:41 +0000
committerMelanie Thielker2009-04-10 19:07:41 +0000
commit0377ddb5de48406f6d72d676ca853fcb0b8ff497 (patch)
treec922312fa040ebed786db3531b1ed720c0aaec0d /OpenSim/Region/ScriptEngine/Interfaces
parentThank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler. (diff)
downloadopensim-SC_OLD-0377ddb5de48406f6d72d676ca853fcb0b8ff497.zip
opensim-SC_OLD-0377ddb5de48406f6d72d676ca853fcb0b8ff497.tar.gz
opensim-SC_OLD-0377ddb5de48406f6d72d676ca853fcb0b8ff497.tar.bz2
opensim-SC_OLD-0377ddb5de48406f6d72d676ca853fcb0b8ff497.tar.xz
Add events to IScriptEngine to notify scripting modules of the removal
of objects from the scene, and of scripts from objects. This facilitates the development of modules that can register prims with externall servers for inbound email and XMLRPC. Currently implemented in XEngine only. Also applying cmickeyb's compiler locking patch, since it seems risk-free.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Interfaces')
-rw-r--r--OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
index 95a8530..8da46f4 100644
--- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
@@ -41,6 +41,10 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
41 /// An interface for a script API module to communicate with 41 /// An interface for a script API module to communicate with
42 /// the engine it's running under 42 /// the engine it's running under
43 /// </summary> 43 /// </summary>
44
45 public delegate void ScriptRemoved(UUID script);
46 public delegate void ObjectRemoved(UUID prim);
47
44 public interface IScriptEngine 48 public interface IScriptEngine
45 { 49 {
46 /// <summary> 50 /// <summary>
@@ -50,6 +54,9 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
50 54
51 Scene World { get; } 55 Scene World { get; }
52 56
57 event ScriptRemoved OnScriptRemoved;
58 event ObjectRemoved OnObjectRemoved;
59
53 /// <summary> 60 /// <summary>
54 /// Post an event to a single script 61 /// Post an event to a single script
55 /// </summary> 62 /// </summary>