diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs index 1dac676..9354a88 100644 --- a/OpenSim/Region/Framework/Scenes/SceneBase.cs +++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs | |||
@@ -217,21 +217,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
217 | 217 | ||
218 | #region Add/Remove Agent/Avatar | 218 | #region Add/Remove Agent/Avatar |
219 | 219 | ||
220 | public abstract ISceneAgent AddNewClient(IClientAPI client, PresenceType type); | 220 | public abstract ISceneAgent AddNewAgent(IClientAPI client, PresenceType type); |
221 | 221 | ||
222 | /// <summary> | 222 | public abstract bool CloseAgent(UUID agentID, bool force); |
223 | /// Remove the given client from the scene. | ||
224 | /// </summary> | ||
225 | /// <remarks> | ||
226 | /// Only clientstack code should call this directly. All other code should call IncomingCloseAgent() instead | ||
227 | /// to properly operate the state machine and avoid race conditions with other close requests (such as directly | ||
228 | /// from viewers). | ||
229 | /// </remarks> | ||
230 | /// <param name='agentID'>ID of agent to close</param> | ||
231 | /// <param name='closeChildAgents'> | ||
232 | /// Close the neighbour child agents associated with this client. | ||
233 | /// </param> | ||
234 | public abstract void RemoveClient(UUID agentID, bool closeChildAgents); | ||
235 | 223 | ||
236 | public bool TryGetScenePresence(UUID agentID, out object scenePresence) | 224 | public bool TryGetScenePresence(UUID agentID, out object scenePresence) |
237 | { | 225 | { |