diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs index d0823d0..694059c 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |||
@@ -30,8 +30,9 @@ using System; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
33 | //using OpenSim.Region.Environment.Scenes; | 33 | using OpenSim.Region.Environment.Scenes; |
34 | using OpenSim.Region.Environment.Scenes.Scripting; | 34 | using OpenSim.Region.Environment.Scenes.Scripting; |
35 | using OpenSim.Region.Environment.Interfaces; | ||
35 | using libsecondlife; | 36 | using libsecondlife; |
36 | 37 | ||
37 | namespace OpenSim.Region.ScriptEngine.DotNetEngine | 38 | namespace OpenSim.Region.ScriptEngine.DotNetEngine |
@@ -40,7 +41,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
40 | /// This is the root object for ScriptEngine | 41 | /// This is the root object for ScriptEngine |
41 | /// </summary> | 42 | /// </summary> |
42 | [Serializable] | 43 | [Serializable] |
43 | public class ScriptEngine : OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface | 44 | public class ScriptEngine :IRegionModule |
44 | { | 45 | { |
45 | 46 | ||
46 | internal OpenSim.Region.Environment.Scenes.Scene World; | 47 | internal OpenSim.Region.Environment.Scenes.Scene World; |
@@ -99,5 +100,33 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
99 | // Log.Status("ScriptEngine", "DEBUG FUNCTION: StartScript: " + ScriptID); | 100 | // Log.Status("ScriptEngine", "DEBUG FUNCTION: StartScript: " + ScriptID); |
100 | // myScriptManager.StartScript(ScriptID, ObjectID); | 101 | // myScriptManager.StartScript(ScriptID, ObjectID); |
101 | //} | 102 | //} |
103 | |||
104 | #region IRegionModule | ||
105 | |||
106 | public void Initialise(Scene scene) | ||
107 | { | ||
108 | this.InitializeEngine(scene, MainLog.Instance); | ||
109 | } | ||
110 | |||
111 | public void PostInitialise() | ||
112 | { | ||
113 | |||
114 | } | ||
115 | |||
116 | public void CloseDown() | ||
117 | { | ||
118 | } | ||
119 | |||
120 | public string GetName() | ||
121 | { | ||
122 | return "LSLScriptingModule"; | ||
123 | } | ||
124 | |||
125 | public bool IsSharedModule() | ||
126 | { | ||
127 | return false; | ||
128 | } | ||
129 | |||
130 | #endregion | ||
102 | } | 131 | } |
103 | } | 132 | } |