diff options
author | Melanie Thielker | 2008-11-22 22:56:00 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-22 22:56:00 +0000 |
commit | 2fa072b579d6c8d1e37c9c72dc223814bfa41e9d (patch) | |
tree | 0da738e0e41d06cee08e9301863c99e7b98959e0 /OpenSim/Region/Environment/Scenes/EventManager.cs | |
parent | Increase IRC login timeout to 25 - it was 10 which was causing reconnect loop... (diff) | |
download | opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.zip opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.tar.gz opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.tar.bz2 opensim-SC_OLD-2fa072b579d6c8d1e37c9c72dc223814bfa41e9d.tar.xz |
Next step in the presence module - some core plumbing included at
no extra cost
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EventManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EventManager.cs | 13 |
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 | } |