diff options
author | Justin Clark-Casey (justincc) | 2011-12-07 17:31:57 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-12-07 17:31:57 +0000 |
commit | 415b7b7ec4be9f87e7d5b65000e092d3372a4391 (patch) | |
tree | 315ba0fc1f42a542a274b997b0d62a490ef78e73 /OpenSim/Region/Framework/Scenes/SceneBase.cs | |
parent | properly lock CapsHandlers.m_capsHandlers (diff) | |
download | opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.zip opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.tar.gz opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.tar.bz2 opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.tar.xz |
Implement XMLRPCAdmin command admin_teleport_agent.
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs index 0336fe5..a633c72 100644 --- a/OpenSim/Region/Framework/Scenes/SceneBase.cs +++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs | |||
@@ -191,6 +191,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
191 | return false; | 191 | return false; |
192 | } | 192 | } |
193 | 193 | ||
194 | /// <summary> | ||
195 | /// Try to get a scene presence from the scene | ||
196 | /// </summary> | ||
197 | /// <param name="agentID"></param> | ||
198 | /// <param name="scenePresence">null if there is no scene presence with the given agent id</param> | ||
199 | /// <returns>true if there was a scene presence with the given id, false otherwise.</returns> | ||
194 | public abstract bool TryGetScenePresence(UUID agentID, out ScenePresence scenePresence); | 200 | public abstract bool TryGetScenePresence(UUID agentID, out ScenePresence scenePresence); |
195 | 201 | ||
196 | #endregion | 202 | #endregion |