Aurora.Addon.HyperGrid.HGAgentInfoService.GetAgentsLocations C# (CSharp) Метод

GetAgentsLocations() приватный Метод

private GetAgentsLocations ( string requestor, List userIDs ) : List
requestor string
userIDs List
Результат List
        public override List<string> GetAgentsLocations(string requestor, List<string> userIDs)
        {
            List<string> locations = new List<string> ();
            foreach (string userID in userIDs)
            {
                List<string> l = base.GetAgentsLocations(requestor, new List<string>() { userID });
                if (l[0] == "NotOnline")
                {
                    UserAccount acc = m_registry.RequestModuleInterface<IUserAccountService> ().GetUserAccount (null, UUID.Parse (userID));
                    if (acc == null)
                    {
                        IUserFinder userFinder = m_registry.RequestModuleInterface<IUserFinder> ();
                        string url = "";
                        if (userFinder != null && (url = userFinder.GetUserServerURL (UUID.Parse (userID), GetHandlers.Helpers_IMServerURI)) != "")
                            l[0] = url;
                    }
                }
                locations.Add (l[0]);
            }
            return locations;
        }