From 74cd26b7228f20bcd9fb2503a81045a36d80a63a Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 6 Aug 2007 12:54:13 +0000 Subject: Part 1 of a two-part commit to change caps of 'scripting' dir... --- .../Environment/Scenes/_scripting/ScriptAPI.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 OpenSim/Region/Environment/Scenes/_scripting/ScriptAPI.cs (limited to 'OpenSim/Region/Environment/Scenes/_scripting/ScriptAPI.cs') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Key = libsecondlife.LLUUID; +using Rotation = libsecondlife.LLQuaternion; +using Vector = libsecondlife.LLVector3; +using LSLList = System.Collections.Generic.List; + + +using OpenSim.Region.Environment.Scenes; + +namespace OpenSim.Region.Scripting +{ + // This class is to be used for engines which may not be able to access the Scene directly. + // Scene access is preffered, but obviously not possible on some non-.NET languages. + public class ScriptAPI + { + Scene scene; + ScriptInterpretedAPI interpretedAPI; + + public ScriptAPI(Scene world, Key taskID) + { + scene = world; + interpretedAPI = new ScriptInterpretedAPI(world, taskID); + } + + public Object CallMethod(String method, Object[] args) + { + return null; + } + } +} -- cgit v1.1