blob: 6eca69a0cfb8d2d01d4f67a785b3ae6b3a6362a4 (
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
33
|
using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Region.Scripting;
using OpenSim.Region.Scripting.LSL;
namespace OpenSim.Region.Scripting.LSL
{
class LSLScript : IScript
{
ScriptInfo scriptInfo;
LSL.Engine lindenScriptEngine;
public LSLScript(string filename, libsecondlife.LLUUID taskObject)
{
scriptInfo.CreateTaskAPI(taskObject);
lindenScriptEngine = new Engine();
lindenScriptEngine.Start(filename);
}
public void Initialise(ScriptInfo info)
{
scriptInfo = info;
}
public string Name
{
get { return "LSL Script"; }
}
}
}
|