Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.)

This commit is contained in:
MW
2007-08-28 18:30:28 +00:00
parent 5a149084d4
commit c16aafee09
45 changed files with 3727 additions and 3081 deletions

View File

@@ -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<string>;
using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.ExtensionsScriptModule
{
// 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;
}
}
}