private string GetBottleIcon(int _lv)
        {
            Dictionary <string, SysMagicbottleExpVo> typeDicByType = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleExpVo>();
            int num = Tools_ParsePrice.Level_Check <SysMagicbottleExpVo>(_lv, typeDicByType, false);

            return(BaseDataMgr.instance.GetDataById <SysMagicbottleExpVo>(num.ToString()).smallIcon);
        }
    public static string BottleRewardParse(int level)
    {
        Dictionary <string, SysMagicbottleRankrewardsVo> typeDicByType = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleRankrewardsVo>();
        int num = Tools_ParsePrice.Level_Check <SysMagicbottleRankrewardsVo>(level, typeDicByType, false);

        if (typeDicByType != null)
        {
            return(num.ToString());
        }
        return(null);
    }
    public static string BottleLevelParse(int level)
    {
        Dictionary <string, SysMagicbottleExpVo> typeDicByType = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleExpVo>();
        int num = Tools_ParsePrice.Level_Check <SysMagicbottleExpVo>(level, typeDicByType, false);

        if (typeDicByType != null)
        {
            return(typeDicByType[num.ToString()].largeIcon);
        }
        return(null);
    }
    public static long BottleMaxExp(int level)
    {
        long result = 0L;
        Dictionary <string, SysMagicbottleExpVo> typeDicByType = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleExpVo>();

        if (typeDicByType != null)
        {
            result = (long)typeDicByType[Tools_ParsePrice.Level_Check <SysMagicbottleExpVo>(level, typeDicByType, false).ToString()].exp;
        }
        return(result);
    }
    public static int ParseCollectRange(int level, bool isDown = false)
    {
        int result = 0;
        Dictionary <string, SysMagicbottleLevelVo> dictionary = new Dictionary <string, SysMagicbottleLevelVo>();

        dictionary = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleLevelVo>();
        if (dictionary != null)
        {
            result = Tools_ParsePrice.Level_Check <SysMagicbottleLevelVo>(level, dictionary, isDown);
        }
        return(result);
    }
        private void InitUI()
        {
            this.viewFx = Singleton <BottleSystemView> .Instance.transform.Find("FxEffects/view");

            this.lastLevel = ModelManager.Instance.Get_BottleData_Level();
            this.lastRange = Tools_ParsePrice.Level_Check <SysMagicbottleExpVo>(this.lastLevel, this.bottle_info, false);
            this.lastIcon  = BaseDataMgr.instance.GetDataById <SysMagicbottleExpVo>(this.lastRange.ToString()).largeIcon;
            Sprite sprite = Resources.Load <Sprite>("Texture/MagicBottleHD/" + this.lastIcon);

            this.sp.sprite = sprite;
            this.ChangeBottleEffect(this.lastIcon);
            this.viewFx.gameObject.SetActive(false);
        }
        private string ReturnMaxExp(int level)
        {
            this.bottle_info = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleExpVo>();
            int num = Tools_ParsePrice.Level_Check <SysMagicbottleExpVo>(level, this.bottle_info, false);

            if (this.bottle_info != null && num != this.lastRange)
            {
                string largeIcon = this.bottle_info[num.ToString()].largeIcon;
                this.lastLevel = level;
                this.lastRange = num;
                return(largeIcon);
            }
            return(this.lastIcon);
        }
    public static bool IsCollectorBottleUp(int levelL, int levelC)
    {
        Dictionary <string, SysMagicbottleLevelVo> typeDicByType = BaseDataMgr.instance.GetTypeDicByType <SysMagicbottleLevelVo>();
        int num = Tools_ParsePrice.MaxLevelCheck <SysMagicbottleLevelVo>(typeDicByType, false);

        if (levelL >= num && levelC >= num)
        {
            SysMagicbottleLevelVo dataById = BaseDataMgr.instance.GetDataById <SysMagicbottleLevelVo>(num.ToString());
            int lastLevelDefference        = dataById.lastLevelDefference;
            return((levelC - num) % lastLevelDefference == 0);
        }
        if (levelC == Tools_ParsePrice.MaxLevelCheck <SysMagicbottleLevelVo>(typeDicByType, true))
        {
            return(true);
        }
        int num2 = Tools_ParsePrice.Level_Check <SysMagicbottleLevelVo>(levelL, typeDicByType, false);
        int num3 = Tools_ParsePrice.Level_Check <SysMagicbottleLevelVo>(levelC, typeDicByType, false);

        return(num2 != num3);
    }