diff options
author | Tedd Hansen | 2008-01-12 14:30:22 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-12 14:30:22 +0000 |
commit | bacbade369a5244f9bcc611488b59f3bd4c8a564 (patch) | |
tree | 2cd909eff401066a69dba96615cbf736fdd73be5 /OpenSim/Region/ScriptEngine/Common/ScriptServerInterfaces.cs | |
parent | * Trying something to see if it helps teleports and border crossings (diff) | |
download | opensim-SC-bacbade369a5244f9bcc611488b59f3bd4c8a564.zip opensim-SC-bacbade369a5244f9bcc611488b59f3bd4c8a564.tar.gz opensim-SC-bacbade369a5244f9bcc611488b59f3bd4c8a564.tar.bz2 opensim-SC-bacbade369a5244f9bcc611488b59f3bd4c8a564.tar.xz |
Major reorganizing of DotNetEngine. Moved common script engine parts to ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common.
Loads of things has been put into interfaces instead of the specific class.
We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptServerInterfaces.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptServerInterfaces.cs b/OpenSim/Region/ScriptEngine/Common/ScriptServerInterfaces.cs index 23ef126..8a3354f 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptServerInterfaces.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptServerInterfaces.cs | |||
@@ -2,6 +2,7 @@ | |||
2 | using OpenSim.Framework; | 2 | using OpenSim.Framework; |
3 | using OpenSim.Framework.Console; | 3 | using OpenSim.Framework.Console; |
4 | using OpenSim.Region.Environment.Scenes; | 4 | using OpenSim.Region.Environment.Scenes; |
5 | using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase; | ||
5 | 6 | ||
6 | namespace OpenSim.Region.ScriptEngine.Common | 7 | namespace OpenSim.Region.ScriptEngine.Common |
7 | { | 8 | { |
@@ -44,7 +45,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
44 | void remote_data(uint localID, LLUUID itemID); | 45 | void remote_data(uint localID, LLUUID itemID); |
45 | void http_response(uint localID, LLUUID itemID); | 46 | void http_response(uint localID, LLUUID itemID); |
46 | } | 47 | } |
47 | 48 | ||
48 | public interface ServerRemotingObject | 49 | public interface ServerRemotingObject |
49 | { | 50 | { |
50 | RemoteEvents Events(); | 51 | RemoteEvents Events(); |
@@ -52,7 +53,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
52 | public interface ScriptEngine | 53 | public interface ScriptEngine |
53 | { | 54 | { |
54 | RemoteEvents EventManager(); | 55 | RemoteEvents EventManager(); |
55 | void InitializeEngine(Scene Sceneworld, LogBase logger, bool DontHookUp); | 56 | void InitializeEngine(Scene Sceneworld, LogBase logger, bool DontHookUp, ScriptManager newScriptManager); |
57 | ScriptManager GetScriptManager(); | ||
56 | } | 58 | } |
57 | 59 | ||
58 | } | 60 | } |