diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/EventManager.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 76d5cb6..399379e 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -181,14 +181,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
181 | 181 | ||
182 | public delegate void ScriptNotAtTargetEvent(uint localID); | 182 | public delegate void ScriptNotAtTargetEvent(uint localID); |
183 | 183 | ||
184 | public event ScriptNotAtTargetEvent OnScriptNotAtTargetEvent; | 184 | public event ScriptNotAtTargetEvent OnScriptNotAtTargetEvent; |
185 | 185 | ||
186 | public delegate void ScriptAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion atrot); | 186 | public delegate void ScriptAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion atrot); |
187 | 187 | ||
188 | public event ScriptAtRotTargetEvent OnScriptAtRotTargetEvent; | 188 | public event ScriptAtRotTargetEvent OnScriptAtRotTargetEvent; |
189 | 189 | ||
190 | public delegate void ScriptNotAtRotTargetEvent(uint localID); | 190 | public delegate void ScriptNotAtRotTargetEvent(uint localID); |
191 | 191 | ||
192 | public event ScriptNotAtRotTargetEvent OnScriptNotAtRotTargetEvent; | 192 | public event ScriptNotAtRotTargetEvent OnScriptNotAtRotTargetEvent; |
193 | 193 | ||
194 | public delegate void ScriptColliding(uint localID, ColliderArgs colliders); | 194 | public delegate void ScriptColliding(uint localID, ColliderArgs colliders); |
@@ -391,8 +391,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
391 | 391 | ||
392 | private ScriptChangedEvent handlerScriptChangedEvent = null; //OnScriptChangedEvent; | 392 | private ScriptChangedEvent handlerScriptChangedEvent = null; //OnScriptChangedEvent; |
393 | private ScriptAtTargetEvent handlerScriptAtTargetEvent = null; | 393 | private ScriptAtTargetEvent handlerScriptAtTargetEvent = null; |
394 | private ScriptNotAtTargetEvent handlerScriptNotAtTargetEvent = null; | 394 | private ScriptNotAtTargetEvent handlerScriptNotAtTargetEvent = null; |
395 | private ScriptAtRotTargetEvent handlerScriptAtRotTargetEvent = null; | 395 | private ScriptAtRotTargetEvent handlerScriptAtRotTargetEvent = null; |
396 | private ScriptNotAtRotTargetEvent handlerScriptNotAtRotTargetEvent = null; | 396 | private ScriptNotAtRotTargetEvent handlerScriptNotAtRotTargetEvent = null; |
397 | private ClientMovement handlerClientMovement = null; //OnClientMovement; | 397 | private ClientMovement handlerClientMovement = null; //OnClientMovement; |
398 | private OnPermissionErrorDelegate handlerPermissionError = null; //OnPermissionError; | 398 | private OnPermissionErrorDelegate handlerPermissionError = null; //OnPermissionError; |
@@ -859,24 +859,24 @@ namespace OpenSim.Region.Framework.Scenes | |||
859 | { | 859 | { |
860 | handlerScriptNotAtTargetEvent(localID); | 860 | handlerScriptNotAtTargetEvent(localID); |
861 | } | 861 | } |
862 | } | 862 | } |
863 | 863 | ||
864 | public void TriggerAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion currentrot) | 864 | public void TriggerAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion currentrot) |
865 | { | 865 | { |
866 | handlerScriptAtRotTargetEvent = OnScriptAtRotTargetEvent; | 866 | handlerScriptAtRotTargetEvent = OnScriptAtRotTargetEvent; |
867 | if (handlerScriptAtRotTargetEvent != null) | 867 | if (handlerScriptAtRotTargetEvent != null) |
868 | { | 868 | { |
869 | handlerScriptAtRotTargetEvent(localID, handle, targetrot, currentrot); | 869 | handlerScriptAtRotTargetEvent(localID, handle, targetrot, currentrot); |
870 | } | 870 | } |
871 | } | 871 | } |
872 | 872 | ||
873 | public void TriggerNotAtRotTargetEvent(uint localID) | 873 | public void TriggerNotAtRotTargetEvent(uint localID) |
874 | { | 874 | { |
875 | handlerScriptNotAtRotTargetEvent = OnScriptNotAtRotTargetEvent; | 875 | handlerScriptNotAtRotTargetEvent = OnScriptNotAtRotTargetEvent; |
876 | if (handlerScriptNotAtRotTargetEvent != null) | 876 | if (handlerScriptNotAtRotTargetEvent != null) |
877 | { | 877 | { |
878 | handlerScriptNotAtRotTargetEvent(localID); | 878 | handlerScriptNotAtRotTargetEvent(localID); |
879 | } | 879 | } |
880 | } | 880 | } |
881 | 881 | ||
882 | public void TriggerRequestChangeWaterHeight(float height) | 882 | public void TriggerRequestChangeWaterHeight(float height) |