aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs
diff options
context:
space:
mode:
authorMW2007-08-28 18:30:28 +0000
committerMW2007-08-28 18:30:28 +0000
commitc16aafee09bfcce12c3d667cd6ec382e29695490 (patch)
treec36c20a4c0efa3fbe5351b79d278d57a66e363ff /OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs
parentstartup event on script added to object, not all inside object. (diff)
downloadopensim-SC-c16aafee09bfcce12c3d667cd6ec382e29695490.zip
opensim-SC-c16aafee09bfcce12c3d667cd6ec382e29695490.tar.gz
opensim-SC-c16aafee09bfcce12c3d667cd6ec382e29695490.tar.bz2
opensim-SC-c16aafee09bfcce12c3d667cd6ec382e29695490.tar.xz
Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.)
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs23
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim.Region.Environment.Scenes;
5using libsecondlife;
6using Key = libsecondlife.LLUUID;
7
8namespace 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}