diff options
author | Adam Frisby | 2007-06-27 09:30:07 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-27 09:30:07 +0000 |
commit | 1eec177d4b11e2793a5d77c20e9112a20138464a (patch) | |
tree | 5264bda6c1410fa561e54734a8cba1aa14fc9d08 /OpenSim/OpenSim.Scripting/ScriptAccess.cs | |
parent | * Added patch for SYSTEMIP handling when an IPv6 address is the primary addre... (diff) | |
download | opensim-SC-1eec177d4b11e2793a5d77c20e9112a20138464a.zip opensim-SC-1eec177d4b11e2793a5d77c20e9112a20138464a.tar.gz opensim-SC-1eec177d4b11e2793a5d77c20e9112a20138464a.tar.bz2 opensim-SC-1eec177d4b11e2793a5d77c20e9112a20138464a.tar.xz |
* Begun reimplementing scripting.
Diffstat (limited to 'OpenSim/OpenSim.Scripting/ScriptAccess.cs')
-rw-r--r-- | OpenSim/OpenSim.Scripting/ScriptAccess.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.Scripting/ScriptAccess.cs b/OpenSim/OpenSim.Scripting/ScriptAccess.cs new file mode 100644 index 0000000..a9fede5 --- /dev/null +++ b/OpenSim/OpenSim.Scripting/ScriptAccess.cs | |||
@@ -0,0 +1,31 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Region.Scenes; | ||
6 | using OpenSim.Framework.Console; | ||
7 | |||
8 | namespace OpenSim.Scripting | ||
9 | { | ||
10 | /// <summary> | ||
11 | /// Class which provides access to the world | ||
12 | /// </summary> | ||
13 | public class ScriptInfo | ||
14 | { | ||
15 | // Reference to world.eventsManager provided for convenience | ||
16 | public EventManager events; | ||
17 | |||
18 | // The main world | ||
19 | public Scene world; | ||
20 | |||
21 | // The console | ||
22 | public LogBase logger; | ||
23 | |||
24 | public ScriptInfo(Scene scene) | ||
25 | { | ||
26 | world = scene; | ||
27 | events = world.eventManager; | ||
28 | logger = OpenSim.Framework.Console.MainLog.Instance; | ||
29 | } | ||
30 | } | ||
31 | } | ||