diff options
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs new file mode 100644 index 0000000..92c67b7 --- /dev/null +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs | |||
@@ -0,0 +1,23 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Region.Environment.Scenes; | ||
5 | using libsecondlife; | ||
6 | using Key = libsecondlife.LLUUID; | ||
7 | |||
8 | namespace OpenSim.Region.ExtensionsScriptModule | ||
9 | { | ||
10 | |||
11 | public class ScriptInterpretedEvents | ||
12 | { | ||
13 | public delegate void OnTouchStartDelegate(Key user); | ||
14 | public event OnTouchStartDelegate OnTouchStart; | ||
15 | |||
16 | |||
17 | public void TriggerTouchStart(Key user) | ||
18 | { | ||
19 | if (OnTouchStart != null) | ||
20 | OnTouchStart(user); | ||
21 | } | ||
22 | } | ||
23 | } | ||