public static AreaInfo Get_LastLoginServer_X(this ModelManager mmng)
        {
            AreaInfo result = null;
            int      @int   = PlayerPrefs.GetInt("LastLoginAreaId");
            Dictionary <int, AreaInfo> dictionary = mmng.Get_AreaList_X();

            if (dictionary != null && @int >= 0 && dictionary.ContainsKey(@int))
            {
                result = dictionary[@int];
            }
            return(result);
        }
        public static AreaInfo Get_RecommendArea(this ModelManager mmng)
        {
            AreaInfo result            = null;
            string   recommendServerId = mmng.Get_serverInfo().RecommendServerId;

            if (string.IsNullOrEmpty(recommendServerId))
            {
                return(result);
            }
            Dictionary <int, AreaInfo> dictionary = mmng.Get_AreaList_X();

            if (dictionary != null && dictionary.ContainsKey(Convert.ToInt32(recommendServerId)))
            {
                result = dictionary[Convert.ToInt32(recommendServerId)];
            }
            return(result);
        }