aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
diff options
context:
space:
mode:
authorlbsa712007-08-22 15:29:47 +0000
committerlbsa712007-08-22 15:29:47 +0000
commit22537aa6207d822dccbb1dff298c95336a740358 (patch)
tree3a6616f0ab8af800ce3eb524808d900027c819c2 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
parentadded ParentPartID to TaskInventoryItem class to make it easier to store them... (diff)
downloadopensim-SC_OLD-22537aa6207d822dccbb1dff298c95336a740358.zip
opensim-SC_OLD-22537aa6207d822dccbb1dff298c95336a740358.tar.gz
opensim-SC_OLD-22537aa6207d822dccbb1dff298c95336a740358.tar.bz2
opensim-SC_OLD-22537aa6207d822dccbb1dff298c95336a740358.tar.xz
* Added stub OnRezScript handler with plentiful of comments
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