mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
* Added Java support back into Sugilite (although it still needs a calling host to be added).
This commit is contained in:
25
OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
Normal file
25
OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
|
||||
namespace OpenSim.Region.Environment.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;
|
||||
|
||||
public ScriptAPI(Scene world)
|
||||
{
|
||||
scene = world;
|
||||
}
|
||||
|
||||
public Object CallMethod(String method, Object[] args)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user