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 f1d8cb4..8f0b866 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); |
@@ -395,8 +395,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
395 | 395 | ||
396 | private ScriptChangedEvent handlerScriptChangedEvent = null; //OnScriptChangedEvent; | 396 | private ScriptChangedEvent handlerScriptChangedEvent = null; //OnScriptChangedEvent; |
397 | private ScriptAtTargetEvent handlerScriptAtTargetEvent = null; | 397 | private ScriptAtTargetEvent handlerScriptAtTargetEvent = null; |
398 | private ScriptNotAtTargetEvent handlerScriptNotAtTargetEvent = null; | 398 | private ScriptNotAtTargetEvent handlerScriptNotAtTargetEvent = null; |
399 | private ScriptAtRotTargetEvent handlerScriptAtRotTargetEvent = null; | 399 | private ScriptAtRotTargetEvent handlerScriptAtRotTargetEvent = null; |
400 | private ScriptNotAtRotTargetEvent handlerScriptNotAtRotTargetEvent = null; | 400 | private ScriptNotAtRotTargetEvent handlerScriptNotAtRotTargetEvent = null; |
401 | private ClientMovement handlerClientMovement = null; //OnClientMovement; | 401 | private ClientMovement handlerClientMovement = null; //OnClientMovement; |
402 | private OnPermissionErrorDelegate handlerPermissionError = null; //OnPermissionError; | 402 | private OnPermissionErrorDelegate handlerPermissionError = null; //OnPermissionError; |
@@ -883,24 +883,24 @@ namespace OpenSim.Region.Framework.Scenes | |||
883 | { | 883 | { |
884 | handlerScriptNotAtTargetEvent(localID); | 884 | handlerScriptNotAtTargetEvent(localID); |
885 | } | 885 | } |
886 | } | 886 | } |
887 | 887 | ||
888 | public void TriggerAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion currentrot) | 888 | public void TriggerAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion currentrot) |
889 | { | 889 | { |
890 | handlerScriptAtRotTargetEvent = OnScriptAtRotTargetEvent; | 890 | handlerScriptAtRotTargetEvent = OnScriptAtRotTargetEvent; |
891 | if (handlerScriptAtRotTargetEvent != null) | 891 | if (handlerScriptAtRotTargetEvent != null) |
892 | { | 892 | { |
893 | handlerScriptAtRotTargetEvent(localID, handle, targetrot, currentrot); | 893 | handlerScriptAtRotTargetEvent(localID, handle, targetrot, currentrot); |
894 | } | 894 | } |
895 | } | 895 | } |
896 | 896 | ||
897 | public void TriggerNotAtRotTargetEvent(uint localID) | 897 | public void TriggerNotAtRotTargetEvent(uint localID) |
898 | { | 898 | { |
899 | handlerScriptNotAtRotTargetEvent = OnScriptNotAtRotTargetEvent; | 899 | handlerScriptNotAtRotTargetEvent = OnScriptNotAtRotTargetEvent; |
900 | if (handlerScriptNotAtRotTargetEvent != null) | 900 | if (handlerScriptNotAtRotTargetEvent != null) |
901 | { | 901 | { |
902 | handlerScriptNotAtRotTargetEvent(localID); | 902 | handlerScriptNotAtRotTargetEvent(localID); |
903 | } | 903 | } |
904 | } | 904 | } |
905 | 905 | ||
906 | public void TriggerRequestChangeWaterHeight(float height) | 906 | public void TriggerRequestChangeWaterHeight(float height) |