aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-05 00:09:45 +0000
committerAdam Frisby2007-07-05 00:09:45 +0000
commit3c46e5b170991e41e8c82e25bae65cf46152b924 (patch)
tree1d8bb69cc57b9508fd8da25657f1c0bc088e5908 /OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
parentA bit more work on Building tools/support. (diff)
downloadopensim-SC_OLD-3c46e5b170991e41e8c82e25bae65cf46152b924.zip
opensim-SC_OLD-3c46e5b170991e41e8c82e25bae65cf46152b924.tar.gz
opensim-SC_OLD-3c46e5b170991e41e8c82e25bae65cf46152b924.tar.bz2
opensim-SC_OLD-3c46e5b170991e41e8c82e25bae65cf46152b924.tar.xz
* Added Java support back into Sugilite (although it still needs a calling host to be added).
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs25
1 files changed, 25 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..fd601cb
--- /dev/null
+++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
@@ -0,0 +1,25 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5using OpenSim.Region.Environment.Scenes;
6
7namespace OpenSim.Region.Environment.Scripting
8{
9 // This class is to be used for engines which may not be able to access the Scene directly.
10 // Scene access is preffered, but obviously not possible on some non-.NET languages.
11 public class ScriptAPI
12 {
13 Scene scene;
14
15 public ScriptAPI(Scene world)
16 {
17 scene = world;
18 }
19
20 public Object CallMethod(String method, Object[] args)
21 {
22 return null;
23 }
24 }
25}