aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
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/DotNetEngine/ScriptEngine.cs
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/DotNetEngine/ScriptEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index c2b07fc..b850227 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -96,6 +96,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
96 get { return "ScriptEngine.DotNetEngine"; } 96 get { return "ScriptEngine.DotNetEngine"; }
97 } 97 }
98 98
99 public event ScriptRemoved OnScriptRemoved;
100 public event ObjectRemoved OnObjectRemoved;
101
99 public ScriptEngine() 102 public ScriptEngine()
100 { 103 {
101 // For logging, just need any instance, doesn't matter 104 // For logging, just need any instance, doesn't matter