aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs
diff options
context:
space:
mode:
authorlbsa712007-08-06 12:54:58 +0000
committerlbsa712007-08-06 12:54:58 +0000
commitea980ca9282ad4fe77aca81c675c56e30d721f70 (patch)
treea9be551b832d2b214840e537740dd4227750cd8e /OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs
parentPart 1 of a two-part commit to change caps of 'scripting' dir... (diff)
downloadopensim-SC_OLD-ea980ca9282ad4fe77aca81c675c56e30d721f70.zip
opensim-SC_OLD-ea980ca9282ad4fe77aca81c675c56e30d721f70.tar.gz
opensim-SC_OLD-ea980ca9282ad4fe77aca81c675c56e30d721f70.tar.bz2
opensim-SC_OLD-ea980ca9282ad4fe77aca81c675c56e30d721f70.tar.xz
... and here's the second part...
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs b/OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs
new file mode 100644
index 0000000..b3a804d
--- /dev/null
+++ b/OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs
@@ -0,0 +1,32 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using Key = libsecondlife.LLUUID;
5using Rotation = libsecondlife.LLQuaternion;
6using Vector = libsecondlife.LLVector3;
7using LSLList = System.Collections.Generic.List<string>;
8
9
10using OpenSim.Region.Environment.Scenes;
11
12namespace OpenSim.Region.Scripting
13{
14 // This class is to be used for engines which may not be able to access the Scene directly.
15 // Scene access is preffered, but obviously not possible on some non-.NET languages.
16 public class ScriptAPI
17 {
18 Scene scene;
19 ScriptInterpretedAPI interpretedAPI;
20
21 public ScriptAPI(Scene world, Key taskID)
22 {
23 scene = world;
24 interpretedAPI = new ScriptInterpretedAPI(world, taskID);
25 }
26
27 public Object CallMethod(String method, Object[] args)
28 {
29 return null;
30 }
31 }
32}