aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Scripting/ScriptAccess.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-27 09:30:07 +0000
committerAdam Frisby2007-06-27 09:30:07 +0000
commit1eec177d4b11e2793a5d77c20e9112a20138464a (patch)
tree5264bda6c1410fa561e54734a8cba1aa14fc9d08 /OpenSim/OpenSim.Scripting/ScriptAccess.cs
parent* Added patch for SYSTEMIP handling when an IPv6 address is the primary addre... (diff)
downloadopensim-SC_OLD-1eec177d4b11e2793a5d77c20e9112a20138464a.zip
opensim-SC_OLD-1eec177d4b11e2793a5d77c20e9112a20138464a.tar.gz
opensim-SC_OLD-1eec177d4b11e2793a5d77c20e9112a20138464a.tar.bz2
opensim-SC_OLD-1eec177d4b11e2793a5d77c20e9112a20138464a.tar.xz
* Begun reimplementing scripting.
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.Scripting/ScriptAccess.cs31
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5using OpenSim.Region.Scenes;
6using OpenSim.Framework.Console;
7
8namespace 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}