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 '')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs (renamed from OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs)46
1 files changed, 23 insertions, 23 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs
index 41fe9c5..92c67b7 100644
--- a/OpenSim/Region/Environment/Scenes/Scripting/ScriptInterpretedEvents.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedEvents.cs
@@ -1,23 +1,23 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using OpenSim.Region.Environment.Scenes; 4using OpenSim.Region.Environment.Scenes;
5using libsecondlife; 5using libsecondlife;
6using Key = libsecondlife.LLUUID; 6using Key = libsecondlife.LLUUID;
7 7
8namespace OpenSim.Region.Scripting 8namespace OpenSim.Region.ExtensionsScriptModule
9{ 9{
10 10
11 public class ScriptInterpretedEvents 11 public class ScriptInterpretedEvents
12 { 12 {
13 public delegate void OnTouchStartDelegate(Key user); 13 public delegate void OnTouchStartDelegate(Key user);
14 public event OnTouchStartDelegate OnTouchStart; 14 public event OnTouchStartDelegate OnTouchStart;
15 15
16 16
17 public void TriggerTouchStart(Key user) 17 public void TriggerTouchStart(Key user)
18 { 18 {
19 if (OnTouchStart != null) 19 if (OnTouchStart != null)
20 OnTouchStart(user); 20 OnTouchStart(user);
21 } 21 }
22 } 22 }
23} 23}