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.
This commit is contained in:
Melanie Thielker
2009-04-10 19:07:41 +00:00
parent 292672675a
commit 0377ddb5de
4 changed files with 29 additions and 2 deletions

View File

@@ -96,6 +96,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
get { return "ScriptEngine.DotNetEngine"; }
}
public event ScriptRemoved OnScriptRemoved;
public event ObjectRemoved OnObjectRemoved;
public ScriptEngine()
{
// For logging, just need any instance, doesn't matter