Aurora.Addon.HyperGrid.RobustOpenProfileModule.GetProfileData C# (CSharp) Method

GetProfileData() private method

private GetProfileData ( UUID userID ) : Hashtable
userID UUID
return System.Collections.Hashtable
        private Hashtable GetProfileData(UUID userID)
        {
            Hashtable ReqHash = new Hashtable();

            ReqHash["avatar_id"] = userID.ToString();

            Hashtable result = GenericXMLRPCRequest(ReqHash,
                    "avatar_properties_request");

            ArrayList dataArray = (ArrayList)result["data"];

            if (dataArray != null && dataArray[0] != null)
            {
                Hashtable d = (Hashtable)dataArray[0];
                return d;
            }
            return result;
        }