diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs new file mode 100644 index 0000000..4cc2c96 --- /dev/null +++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs | |||
@@ -0,0 +1,32 @@ | |||
1 | using OpenSim.Framework.Console; | ||
2 | using OpenSim.Framework; | ||
3 | using OpenSim.Region.Environment; | ||
4 | using OpenSim.Region.Environment.Scenes; | ||
5 | |||
6 | namespace OpenSim.Region.Scripting.Examples | ||
7 | { | ||
8 | public class LSLExportScript : IScript | ||
9 | { | ||
10 | ScriptInfo script; | ||
11 | |||
12 | public string getName() | ||
13 | { | ||
14 | return "LSL Export Script 0.1"; | ||
15 | } | ||
16 | |||
17 | public void Initialise(ScriptInfo scriptInfo) | ||
18 | { | ||
19 | script = scriptInfo; | ||
20 | |||
21 | script.events.OnScriptConsole += new EventManager.OnScriptConsoleDelegate(events_OnScriptConsole); | ||
22 | } | ||
23 | |||
24 | void events_OnScriptConsole(string[] args) | ||
25 | { | ||
26 | if (args[0].ToLower() == "lslexport") | ||
27 | { | ||
28 | |||
29 | } | ||
30 | } | ||
31 | } | ||
32 | } \ No newline at end of file | ||