* Added stub OnRezScript handler with plentiful of comments

afrisby
lbsa71 2007-08-22 15:29:47 +00:00
parent a3648b6862
commit 22537aa620
1 changed files with 11 additions and 0 deletions

View File

@ -77,7 +77,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
// Should we iterate the region for scripts that needs starting?
// Or can we assume we are loaded before anything else so we can use proper events?
// Event hook for when scripts are dragged to script inventory
World.EventManager.OnRezScript += NewRezScriptHandler;
}
private void NewRezScriptHandler(uint localID, string script)
{
// TODO: Add code to compile script and wire up script to object
// Either the script is a stand-alone entity with a reference to public host,
// Or the host has a reference to the script because it was in its inventory.
}
public void Shutdown()
{
// We are shutting down