aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index 9b8cff0..90ea01b 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -77,7 +77,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
77 // Should we iterate the region for scripts that needs starting? 77 // Should we iterate the region for scripts that needs starting?
78 // Or can we assume we are loaded before anything else so we can use proper events? 78 // Or can we assume we are loaded before anything else so we can use proper events?
79 79
80 // Event hook for when scripts are dragged to script inventory
81 World.EventManager.OnRezScript += NewRezScriptHandler;
82
80 } 83 }
84
85 private void NewRezScriptHandler(uint localID, string script)
86 {
87 // TODO: Add code to compile script and wire up script to object
88 // Either the script is a stand-alone entity with a reference to public host,
89 // Or the host has a reference to the script because it was in its inventory.
90 }
91
81 public void Shutdown() 92 public void Shutdown()
82 { 93 {
83 // We are shutting down 94 // We are shutting down