mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in the code that this is symmetric with CloseAgent()
This commit is contained in:
@@ -86,14 +86,14 @@ namespace OpenSim.Framework
|
||||
event restart OnRestart;
|
||||
|
||||
/// <summary>
|
||||
/// Add a new agent. All agents except initial login clients will starts off as a child agent
|
||||
/// Add a new agent with an attached client. All agents except initial login clients will starts off as a child agent
|
||||
/// - the later agent crossing will promote it to a root agent.
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="type">The type of agent to add.</param>
|
||||
/// <returns>
|
||||
/// The scene agent if the new client was added or if an agent that already existed.</returns>
|
||||
ISceneAgent AddNewClient(IClientAPI client, PresenceType type);
|
||||
ISceneAgent AddNewAgent(IClientAPI client, PresenceType type);
|
||||
|
||||
/// <summary>
|
||||
/// Tell a single agent to disconnect from the region.
|
||||
|
||||
Reference in New Issue
Block a user