From ed80c7ae322cf77bbdf10fc1fa2c02da8d16ea68 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 11 Jun 2007 10:24:24 +0000 Subject: Added AttachObject method to IClientAPI. Added RequestAvatar(LLUUID avatarID) method to world. --- OpenSim/OpenSim.Region/World/World.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/OpenSim.Region/World') diff --git a/OpenSim/OpenSim.Region/World/World.cs b/OpenSim/OpenSim.Region/World/World.cs index aad09b3..e316e27 100644 --- a/OpenSim/OpenSim.Region/World/World.cs +++ b/OpenSim/OpenSim.Region/World/World.cs @@ -591,6 +591,15 @@ namespace OpenSim.Region return result; } + + public Avatar RequestAvatar(LLUUID avatarID) + { + if (this.Avatars.ContainsKey(avatarID)) + { + return Avatars[avatarID]; + } + return null; + } #endregion #region ShutDown -- cgit v1.1