diff options
Diffstat (limited to 'OpenSim/Region/Scripting/ScriptAccess.cs')
-rw-r--r-- | OpenSim/Region/Scripting/ScriptAccess.cs | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/OpenSim/Region/Scripting/ScriptAccess.cs b/OpenSim/Region/Scripting/ScriptAccess.cs index a9fede5..ce814a4 100644 --- a/OpenSim/Region/Scripting/ScriptAccess.cs +++ b/OpenSim/Region/Scripting/ScriptAccess.cs | |||
@@ -1,31 +1,31 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | using OpenSim.Region.Scenes; | 5 | using OpenSim.Region.Scenes; |
6 | using OpenSim.Framework.Console; | 6 | using OpenSim.Framework.Console; |
7 | 7 | ||
8 | namespace OpenSim.Scripting | 8 | namespace OpenSim.Scripting |
9 | { | 9 | { |
10 | /// <summary> | 10 | /// <summary> |
11 | /// Class which provides access to the world | 11 | /// Class which provides access to the world |
12 | /// </summary> | 12 | /// </summary> |
13 | public class ScriptInfo | 13 | public class ScriptInfo |
14 | { | 14 | { |
15 | // Reference to world.eventsManager provided for convenience | 15 | // Reference to world.eventsManager provided for convenience |
16 | public EventManager events; | 16 | public EventManager events; |
17 | 17 | ||
18 | // The main world | 18 | // The main world |
19 | public Scene world; | 19 | public Scene world; |
20 | 20 | ||
21 | // The console | 21 | // The console |
22 | public LogBase logger; | 22 | public LogBase logger; |
23 | 23 | ||
24 | public ScriptInfo(Scene scene) | 24 | public ScriptInfo(Scene scene) |
25 | { | 25 | { |
26 | world = scene; | 26 | world = scene; |
27 | events = world.eventManager; | 27 | events = world.eventManager; |
28 | logger = OpenSim.Framework.Console.MainLog.Instance; | 28 | logger = OpenSim.Framework.Console.MainLog.Instance; |
29 | } | 29 | } |
30 | } | 30 | } |
31 | } | 31 | } |