diff options
author | Tedd Hansen | 2007-10-05 19:56:44 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-10-05 19:56:44 +0000 |
commit | 6dd923b01d6864ffcb17030c9de17224f45b4c2a (patch) | |
tree | 83d00d90a13f6803b38988049096296caf9f4c17 /OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt | |
parent | Code from Illumious Beltran (IBM) implementing more LSL (diff) | |
download | opensim-SC-6dd923b01d6864ffcb17030c9de17224f45b4c2a.zip opensim-SC-6dd923b01d6864ffcb17030c9de17224f45b4c2a.tar.gz opensim-SC-6dd923b01d6864ffcb17030c9de17224f45b4c2a.tar.bz2 opensim-SC-6dd923b01d6864ffcb17030c9de17224f45b4c2a.tar.xz |
Some more work on new ScriptEngine.
Diffstat (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt')
-rw-r--r-- | OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt new file mode 100644 index 0000000..a39d1db --- /dev/null +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | //c# | ||
2 | namespace SecondLife { | ||
3 | public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass | ||
4 | { | ||
5 | public Script() { } | ||
6 | |||
7 | public void default_event_state_entry( ) | ||
8 | { | ||
9 | llSay(0, "testing, I've been touched"); | ||
10 | } | ||
11 | |||
12 | }} \ No newline at end of file | ||