mirror of
https://github.com/opensim/opensim.git
synced 2026-06-23 23:05:44 +08:00
27 lines
667 B
C#
27 lines
667 B
C#
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;
|
|
}
|
|
}
|
|
} |