aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/EventManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EventManager.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/EventManager.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EventManager.cs b/OpenSim/Region/Environment/Scenes/EventManager.cs
index bcefe37..cdaff51 100644
--- a/OpenSim/Region/Environment/Scenes/EventManager.cs
+++ b/OpenSim/Region/Environment/Scenes/EventManager.cs
@@ -98,6 +98,10 @@ namespace OpenSim.Region.Environment.Scenes
98 98
99 public delegate void OnPermissionErrorDelegate(UUID user, string reason); 99 public delegate void OnPermissionErrorDelegate(UUID user, string reason);
100 100
101 public delegate void OnSetRootAgentSceneDelegate(UUID agentID);
102
103 public event OnSetRootAgentSceneDelegate OnSetRootAgentScene;
104
101 public event ObjectGrabDelegate OnObjectGrab; 105 public event ObjectGrabDelegate OnObjectGrab;
102 public event ObjectDeGrabDelegate OnObjectDeGrab; 106 public event ObjectDeGrabDelegate OnObjectDeGrab;
103 public event ScriptResetDelegate OnScriptReset; 107 public event ScriptResetDelegate OnScriptReset;
@@ -389,6 +393,8 @@ namespace OpenSim.Region.Environment.Scenes
389 private GetScriptRunning handlerGetScriptRunning = null; 393 private GetScriptRunning handlerGetScriptRunning = null;
390 394
391 private SunLindenHour handlerSunGetLindenHour = null; 395 private SunLindenHour handlerSunGetLindenHour = null;
396 private OnSetRootAgentSceneDelegate handlerSetRootAgentScene = null;
397
392 398
393 public void TriggerGetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID) 399 public void TriggerGetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID)
394 { 400 {
@@ -912,5 +918,12 @@ namespace OpenSim.Region.Environment.Scenes
912 if (handlerCollidingEnd != null) 918 if (handlerCollidingEnd != null)
913 handlerCollidingEnd(localId, colliders); 919 handlerCollidingEnd(localId, colliders);
914 } 920 }
921
922 public void TriggerSetRootAgentScene(UUID agentID)
923 {
924 handlerSetRootAgentScene = OnSetRootAgentScene;
925 if (handlerSetRootAgentScene != null)
926 handlerSetRootAgentScene(agentID);
927 }
915 } 928 }
916} 929}