aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scripting/ScriptAPI.cs
blob: b3a804dd6d86e5eed437352e7fb4dd73c02acbc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.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;
        }
    }
}