aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scripting/Engines/LSLEngine/LSLScriptEngine.cs
blob: c232c2f41b0b20695be1994e4b3b9a7e103f43ca (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
using System;
using System.Collections.Generic;
using System.Text;

using OpenSim.Region.Scripting;
using OpenSim.Region.Scripting.LSL;

namespace OpenSim.Region.Scripting
{
    public class LSLEngine : IScriptCompiler
    {
        public string FileExt()
        {
            return ".lso";
        }

        public Dictionary<string, IScript> compile(string filename)
        {
            LSLScript script = new LSLScript(filename, libsecondlife.LLUUID.Zero);
            Dictionary<string, IScript> returns = new Dictionary<string, IScript>();

            returns.Add(filename, script);

            return returns;
        }
    }
}