mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs OpenSim/Region/Framework/Scenes/Scene.cs
This commit is contained in:
@@ -125,13 +125,21 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is triggered for both child and root agent client connections.
|
||||
///
|
||||
/// Triggered before OnClientLogin.
|
||||
///
|
||||
/// This is triggered under per-agent lock. So if you want to perform any long-running operations, please
|
||||
/// do this on a separate thread.
|
||||
/// </remarks>
|
||||
public event OnNewClientDelegate OnNewClient;
|
||||
|
||||
/// <summary>
|
||||
/// Fired if the client entering this sim is doing so as a new login
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is triggered under per-agent lock. So if you want to perform any long-running operations, please
|
||||
/// do this on a separate thread.
|
||||
/// </remarks>
|
||||
public event Action<IClientAPI> OnClientLogin;
|
||||
|
||||
public delegate void OnNewPresenceDelegate(ScenePresence presence);
|
||||
@@ -153,6 +161,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <remarks>
|
||||
/// Triggered in <see cref="OpenSim.Region.Framework.Scenes.Scene.AddNewClient"/> which is used by both
|
||||
/// <see cref="OpenSim.Framework.PresenceType.User">users</see> and <see cref="OpenSim.Framework.PresenceType.Npc">NPCs</see>
|
||||
///
|
||||
/// Triggered under per-agent lock. So if you want to perform any long-running operations, please
|
||||
/// do this on a separate thread.
|
||||
/// </remarks>
|
||||
public event OnRemovePresenceDelegate OnRemovePresence;
|
||||
|
||||
@@ -429,6 +440,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// At the point of firing, the scene still contains the client's scene presence.
|
||||
///
|
||||
/// This is triggered under per-agent lock. So if you want to perform any long-running operations, please
|
||||
/// do this on a separate thread.
|
||||
/// </remarks>
|
||||
public event ClientClosed OnClientClosed;
|
||||
|
||||
@@ -917,7 +931,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public event SceneObjectPartCopyDelegate OnSceneObjectPartCopy;
|
||||
public delegate void SceneObjectPartCopyDelegate(SceneObjectPart copy, SceneObjectPart original, bool userExposed);
|
||||
|
||||
public delegate void SceneObjectPartUpdated(SceneObjectPart sop);
|
||||
public delegate void SceneObjectPartUpdated(SceneObjectPart sop, bool full);
|
||||
public event SceneObjectPartUpdated OnSceneObjectPartUpdated;
|
||||
|
||||
public delegate void ScenePresenceUpdated(ScenePresence sp);
|
||||
@@ -2862,7 +2876,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public void TriggerSceneObjectPartUpdated(SceneObjectPart sop)
|
||||
public void TriggerSceneObjectPartUpdated(SceneObjectPart sop, bool full)
|
||||
{
|
||||
SceneObjectPartUpdated handler = OnSceneObjectPartUpdated;
|
||||
if (handler != null)
|
||||
@@ -2871,7 +2885,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
try
|
||||
{
|
||||
d(sop);
|
||||
d(sop, full);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user