diff options
author | Tedd Hansen | 2008-02-24 15:45:20 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-24 15:45:20 +0000 |
commit | 2cd85e15dce6628c613f280fdbd058dce4efd134 (patch) | |
tree | f0f9142e0ddf50c07f6397f3aa5527dd5886fc99 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | * Adds unit test glue to the OdePlugin. (diff) | |
download | opensim-SC-2cd85e15dce6628c613f280fdbd058dce4efd134.zip opensim-SC-2cd85e15dce6628c613f280fdbd058dce4efd134.tar.gz opensim-SC-2cd85e15dce6628c613f280fdbd058dce4efd134.tar.bz2 opensim-SC-2cd85e15dce6628c613f280fdbd058dce4efd134.tar.xz |
Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added new OSSL_BuilIn_Commands class where we can start adding our own modular commands.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 68ac99c..b0ddf37 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -25,8 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | /* Original code: Tedd Hansen */ | ||
29 | |||
30 | using System; | 28 | using System; |
31 | using libsecondlife; | 29 | using libsecondlife; |
32 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
@@ -97,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
97 | // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed. | 95 | // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed. |
98 | 96 | ||
99 | 97 | ||
100 | LSL_BuiltIn_Commands LSLB = new LSL_BuiltIn_Commands(m_scriptEngine, m_host, localID, itemID); | 98 | BuilIn_Commands LSLB = (BuilIn_Commands)new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID); |
101 | 99 | ||
102 | // Start the script - giving it BuiltIns | 100 | // Start the script - giving it BuiltIns |
103 | CompiledScript.Start(LSLB); | 101 | CompiledScript.Start(LSLB); |