diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index a8ff218..4c49b71 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -121,13 +121,21 @@ namespace OpenSim.Region.Framework.Scenes | |||
121 | /// </summary> | 121 | /// </summary> |
122 | /// <remarks> | 122 | /// <remarks> |
123 | /// This is triggered for both child and root agent client connections. | 123 | /// This is triggered for both child and root agent client connections. |
124 | /// | ||
124 | /// Triggered before OnClientLogin. | 125 | /// Triggered before OnClientLogin. |
126 | /// | ||
127 | /// This is triggered under per-agent lock. So if you want to perform any long-running operations, please | ||
128 | /// do this on a separate thread. | ||
125 | /// </remarks> | 129 | /// </remarks> |
126 | public event OnNewClientDelegate OnNewClient; | 130 | public event OnNewClientDelegate OnNewClient; |
127 | 131 | ||
128 | /// <summary> | 132 | /// <summary> |
129 | /// Fired if the client entering this sim is doing so as a new login | 133 | /// Fired if the client entering this sim is doing so as a new login |
130 | /// </summary> | 134 | /// </summary> |
135 | /// <remarks> | ||
136 | /// This is triggered under per-agent lock. So if you want to perform any long-running operations, please | ||
137 | /// do this on a separate thread. | ||
138 | /// </remarks> | ||
131 | public event Action<IClientAPI> OnClientLogin; | 139 | public event Action<IClientAPI> OnClientLogin; |
132 | 140 | ||
133 | public delegate void OnNewPresenceDelegate(ScenePresence presence); | 141 | public delegate void OnNewPresenceDelegate(ScenePresence presence); |
@@ -149,6 +157,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
149 | /// <remarks> | 157 | /// <remarks> |
150 | /// Triggered in <see cref="OpenSim.Region.Framework.Scenes.Scene.AddNewClient"/> which is used by both | 158 | /// Triggered in <see cref="OpenSim.Region.Framework.Scenes.Scene.AddNewClient"/> which is used by both |
151 | /// <see cref="OpenSim.Framework.PresenceType.User">users</see> and <see cref="OpenSim.Framework.PresenceType.Npc">NPCs</see> | 159 | /// <see cref="OpenSim.Framework.PresenceType.User">users</see> and <see cref="OpenSim.Framework.PresenceType.Npc">NPCs</see> |
160 | /// | ||
161 | /// Triggered under per-agent lock. So if you want to perform any long-running operations, please | ||
162 | /// do this on a separate thread. | ||
152 | /// </remarks> | 163 | /// </remarks> |
153 | public event OnRemovePresenceDelegate OnRemovePresence; | 164 | public event OnRemovePresenceDelegate OnRemovePresence; |
154 | 165 | ||
@@ -425,6 +436,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
425 | /// </summary> | 436 | /// </summary> |
426 | /// <remarks> | 437 | /// <remarks> |
427 | /// At the point of firing, the scene still contains the client's scene presence. | 438 | /// At the point of firing, the scene still contains the client's scene presence. |
439 | /// | ||
440 | /// This is triggered under per-agent lock. So if you want to perform any long-running operations, please | ||
441 | /// do this on a separate thread. | ||
428 | /// </remarks> | 442 | /// </remarks> |
429 | public event ClientClosed OnClientClosed; | 443 | public event ClientClosed OnClientClosed; |
430 | 444 | ||