少年修仙传客户端代码仓库
client_Hale
2018-08-13 4877e3a59fb40a756ada5104fe269d91fc013f0e
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
13个文件已修改
354 ■■■■ 已修改文件
System/DailyQuest/DailyQuestBehaviour.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DailyQuest/DailyQuestModel.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DailyQuest/DailyQuestWin.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/DemonJarWin.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RuneTower/RuneTowerWin.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/FairyJadeInvestmentModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipInvest/VipInvestModel.cs 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipInvest/VipInvestWin.cs 128 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipRechargeWin.cs 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Welfare/MultipleExpWin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Welfare/OperationTimeHepler.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Welfare/WelfareCenter.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Welfare/WelfareWin.cs 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DailyQuest/DailyQuestBehaviour.cs
@@ -125,9 +125,17 @@
            {
                if (state == DailyQuestModel.DailyQuestState.CanBuyTimes)
                {
                    var config = ConfigManager.Instance.GetTemplate<DailyQuestConfig>(data.id);
                    dungeonModel.currentDungeon = new Dungeon(config.RelatedID, 0);
                    WindowCenter.Instance.Open<DungeonBuyTimesWin>();
                    switch ((DailyQuestType)data.id)
                    {
                        case DailyQuestType.RuneTowerSweep:
                            dailyQuestWin.GotoDailyQuest(data.id);
                            break;
                        default:
                            var config = ConfigManager.Instance.GetTemplate<DailyQuestConfig>(data.id);
                            dungeonModel.currentDungeon = new Dungeon(config.RelatedID, 0);
                            WindowCenter.Instance.Open<DungeonBuyTimesWin>();
                            break;
                    }
                }
                else
                {
System/DailyQuest/DailyQuestModel.cs
@@ -246,7 +246,7 @@
                        switch (config.RelatedID)
                        {
                            case 11:
                                return dailyQuestOpenTime.DayTimes + GeneralConfig.Instance.runeTowerSweepBuyTimes;
                                return Math.Max(dailyQuestOpenTime.DayTimes, GetDailyQuestCompletedTimes(_dailyQuestId));
                            case 16:
                                return ModelCenter.Instance.GetModel<VipModel>().GetVipPrivilegeCnt(VipPrivilegeType.BossHomeAwardLimit);
                            default:
@@ -831,7 +831,21 @@
                switch (config.RelatedType)
                {
                    case 1:
                        return DailyQuestState.Completed;
                        switch (config.RelatedID)
                        {
                            case 11:
                                var dailyQuestOpenTime = ConfigManager.Instance.GetTemplate<DailyQuestOpenTimeConfig>(config.RelatedID);
                                if (completedTimes >= dailyQuestOpenTime.DayTimes + GeneralConfig.Instance.runeTowerSweepBuyTimes)
                                {
                                    return DailyQuestState.Completed;
                                }
                                else
                                {
                                    return DailyQuestState.CanBuyTimes;
                                }
                            default:
                                return DailyQuestState.Completed;
                        }
                    case 2:
                        DungeonRecord record;
                        dungeonModel.TryGetDungeonRecord(config.RelatedID, out record);
System/DailyQuest/DailyQuestWin.cs
@@ -252,6 +252,7 @@
                    dungeonModel.SingleChallengeDungeon(config.RelatedID);
                    break;
                case DailyQuestType.RuneTowerSweep:
                    RuneTowerWin.guideSweep = true;
                    WindowCenter.Instance.CloseImmediately<DailyQuestWin>();
                    WindowCenter.Instance.Open<RuneTowerWin>();
                    break;
System/FindPrecious/DemonJarWin.cs
@@ -297,6 +297,9 @@
                return;
            }
            totalTimes = dungeonModel.GetDungeonTotalTimes(DemonJarModel.DEMONJAR_MAPID);
            enterTimes = dungeonModel.GetDungeonEnterTimes(DemonJarModel.DEMONJAR_MAPID);
            m_Times.text = StringUtility.Contact(totalTimes - enterTimes, "/", DemonJarModel.TOTALTIME_LIMIT);
            if ((totalTimes - enterTimes) < DemonJarModel.TOTALTIME_LIMIT)
System/RuneTower/RuneTowerWin.cs
@@ -17,6 +17,7 @@
    public class RuneTowerWin : Window
    {
        public static bool guideChallenge = false;
        public static bool guideSweep = false;
        [SerializeField] RuneTowerBehaviour m_Tower;
        [SerializeField] Transform m_ContainerBossInfo;
@@ -98,6 +99,7 @@
        protected override void OnPreClose()
        {
            guideChallenge = false;
            guideSweep = false;
            WindowCenter.Instance.uiRoot.eventSystem.enabled = true;
            m_Tower.Dispose();
            UI3DModelExhibition.Instance.StopShowNPC();
@@ -126,6 +128,7 @@
            }
            CheckTaskGuide();
            CheckSweepGuide();
            CheckAchievementGuide();
        }
@@ -331,7 +334,6 @@
            }
        }
        private void CheckTaskGuide()
        {
            if (guideChallenge)
@@ -341,6 +343,15 @@
            }
        }
        private void CheckSweepGuide()
        {
            if (guideSweep && m_Sweep.gameObject.activeInHierarchy)
            {
                var guideEffect = AchievementGuideEffectPool.Require(1);
                guideEffect.transform.SetParentEx(m_Sweep.transform, Vector3.zero, Vector3.zero, Vector3.one);
            }
        }
        private void CheckAchievementGuide()
        {
            if (AchievementGoto.guideAchievementId != 0)
System/Vip/FairyJadeInvestmentModel.cs
@@ -208,8 +208,8 @@
        }
    }
    private const int Redpoint_key1 = 3502;
    public Redpoint redPointStre1 = new Redpoint(MainRedDot.RedPoint_VipDot, Redpoint_key1);//仙玉投资红点
    private const int Redpoint_key1 = 20110;
    public Redpoint redPointStre1 = new Redpoint(201, Redpoint_key1);//仙玉投资红点
    public int JumpInedx = 0;
    private void InvestmentRedPoint()//红点
    {
System/Vip/VipInvest/VipInvestModel.cs
@@ -387,10 +387,22 @@
        private List<InvestConfig> configlist;
        private const int Redpoint_key1 = 3501;
        public Redpoint redPointStre1 = new Redpoint(MainRedDot.RedPoint_VipDot, Redpoint_key1);//Vip 投资红点
        private const int Redpoint_key1_Week1 = 350101;
        private const int Redpoint_key1_Week2 = 350102;
        private const int Redpoint_key1_Week3 = 350103;
        private const int Redpoint_key1_Week4 = 350104;
        public Redpoint redPointStre1_v1 = new Redpoint(Redpoint_key1, Redpoint_key1_Week1);
        public Redpoint redPointStre1_v2 = new Redpoint(Redpoint_key1, Redpoint_key1_Week2);
        public Redpoint redPointStre1_v3 = new Redpoint(Redpoint_key1, Redpoint_key1_Week3);
        public Redpoint redPointStre1_v4 = new Redpoint(Redpoint_key1, Redpoint_key1_Week4);
        public int JumpIndex = 0;
        private void VipInvestRedPoint()//Vip 投资红点
        {
            JumpIndex = 0;
            redPointStre1_v1.state = RedPointState.None;
            redPointStre1_v2.state = RedPointState.None;
            redPointStre1_v3.state = RedPointState.None;
            redPointStre1_v4.state = RedPointState.None;
            redPointStre1.state = RedPointState.None;
            InvestInfo =GetInvestInfoByType((int)InvestType.Vip);
            cycle = GetInvestCycle(InvestInfo.curDay);
@@ -409,7 +421,25 @@
                RewardRecordState recordState =GetRecordByIndex((int)InvestType.Vip, config.needDay);
                if (recordState == RewardRecordState.NoReceive)
                {
                    redPointStre1.state = RedPointState.Simple;
                    switch (cycle)
                    {
                        case 1:
                            redPointStre1_v1.state = RedPointState.Simple;
                            break;
                        case 2:
                            redPointStre1_v2.state = RedPointState.Simple;
                            break;
                        case 3:
                            redPointStre1_v3.state = RedPointState.Simple;
                            break;
                        case 4:
                            redPointStre1_v4.state = RedPointState.Simple;
                            break;
                        default:
                            break;
                    }
                   // redPointStre1.state = RedPointState.Simple;
                    JumpIndex = i;
                    return;
                }
@@ -430,6 +460,7 @@
            }
        }
        private void RedPointSate()//Vip投资红点前三天
        {
            if (InvestInfo.investGold > 0)
System/Vip/VipInvest/VipInvestWin.cs
@@ -13,6 +13,14 @@
        [SerializeField] Button investBtn;
        [SerializeField] GameObject m_Realized_BGM;
        [SerializeField] Text m_RemainingDays;//剩余天数
        //---------------------------------
        [SerializeField] Transform m_ButtonGroup;//按钮组
        [SerializeField] Button m_Button_one;
        [SerializeField] Button m_Button_Two;
        [SerializeField] Button m_Button_Three;
        [SerializeField] Button m_Button_Four;
        [SerializeField] Button m_GoToVipBoss;
        VipInvestModel _investModel;
        VipInvestModel investModel { get { return _investModel ?? (_investModel = ModelCenter.Instance.GetModel<VipInvestModel>()); } }
        ItemTipsModel _tipsModel;
@@ -31,7 +39,11 @@
        }
        protected override void AddListeners()
        {
            m_Button_one.AddListener(OnclickButtonOne);
            m_Button_Two.AddListener(OnClickButtonTwo);
            m_Button_Three.AddListener(OnClickButtonThree);
            m_Button_Four.AddListener(OnClickButtonFour);
            m_GoToVipBoss.AddListener(OnClickVipBossWin);
        }
        protected override void OnPreOpen()
@@ -42,11 +54,11 @@
            investIndex = investModel.GetVipInvestIndex();
            if (InvestInfo.curDay <= 0)
            {
            {
                m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, 0.ToString(), true));
            }
            else
            {
            {
                m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, (28 - InvestInfo.curDay).ToString(), true));
            }
@@ -61,8 +73,9 @@
                m_Realized_BGM.SetActive(true);
                investBtn.gameObject.SetActive(false);
            }
            configlist = investModel.GetInvestConfiglistByCycle(cycle);
            CreateRewardCell();
            SwithWeek(cycle);
            //configlist = investModel.GetInvestConfiglistByCycle(cycle);
            //CreateRewardCell();
            investModel.RefreshInvestAct += RefreshInvestState;
        }
@@ -107,11 +120,11 @@
                    investBtn.gameObject.SetActive(false);
                }
                if (InvestInfo.curDay <= 0)
                {
                {
                    m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, 0.ToString(), true));
                }
                else
                {
                {
                    m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, (28 - InvestInfo.curDay).ToString(), true));
                }
            }
@@ -135,7 +148,16 @@
                }
                ctrl.Restart();
            }
            ctrl.JumpIndex(investModel.JumpIndex);
            int a_Week= investModel.GetInvestCycle(InvestInfo.curDay);
            if (a_Week == cycle)
            {
                ctrl.JumpIndex(investModel.JumpIndex);
            }
            else
            {
                ctrl.JumpIndex(0);
            }
        }
        private void RefreshRewardCell(ScrollerDataType type, CellView cell)
@@ -149,7 +171,7 @@
            GameObject IsMissImage = cell.transform.Find("IsMissImage").gameObject;//已错过
            GameObject IsReachImage = cell.transform.Find("IsReachImage").gameObject;//未达成
            int day = cell.index + 1;
            int day = cell.index + 1;
            titleText.text = string.Format(Language.Get("VipInvestmentHint"), cycle, day);
            InvestConfig config = configlist[cell.index];
@@ -275,5 +297,93 @@
        }
        private void CloseAllSelected()
        {
            for (int i = 0; i < m_ButtonGroup.childCount; i++)
            {
                var selected = m_ButtonGroup.GetChild(i).transform.Find("Selected").gameObject;
                if (selected.activeSelf)
                {
                    selected.SetActive(false);
                }
            }
        }
        private void OnclickButtonOne()
        {
            CloseAllSelected();
            var selected = m_Button_one.transform.Find("Selected").gameObject;
            if (!selected.activeSelf)
            {
                selected.SetActive(true);
            }
            cycle = 1;
            configlist = investModel.GetInvestConfiglistByCycle(cycle);
            CreateRewardCell();
        }
        private void OnClickButtonTwo()
        {
            CloseAllSelected();
            var selected = m_Button_Two.transform.Find("Selected").gameObject;
            if (!selected.activeSelf)
            {
                selected.SetActive(true);
            }
            cycle = 2;
            configlist = investModel.GetInvestConfiglistByCycle(cycle);
            CreateRewardCell();
        }
        private void OnClickButtonThree()
        {
            CloseAllSelected();
            var selected = m_Button_Three.transform.Find("Selected").gameObject;
            if (!selected.activeSelf)
            {
                selected.SetActive(true);
            }
            cycle = 3;
            configlist = investModel.GetInvestConfiglistByCycle(cycle);
            CreateRewardCell();
        }
        private void OnClickButtonFour()
        {
            CloseAllSelected();
            var selected = m_Button_Four.transform.Find("Selected").gameObject;
            if (!selected.activeSelf)
            {
                selected.SetActive(true);
            }
            cycle = 4;
            configlist = investModel.GetInvestConfiglistByCycle(cycle);
            CreateRewardCell();
        }
        private void OnClickVipBossWin()
        {
            WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.FindPreciousFrameFunc3);
        }
        private void SwithWeek(int cycle_int)
        {
            switch (cycle_int)
            {
                case 1:
                    OnclickButtonOne();
                    break;
                case 2:
                    OnClickButtonTwo();
                    break;
                case 3:
                    OnClickButtonThree();
                    break;
                case 4:
                    OnClickButtonFour();
                    break;
                default:
                    break;
            }
        }
    }
}
System/Vip/VipRechargeWin.cs
@@ -18,11 +18,9 @@
        [SerializeField] Button rightBtn;
        [SerializeField] Button closeBtn;
        [SerializeField] FunctionButton vipPayTitleBtn;
        [SerializeField] FunctionButton vipMonthInvestTitleBtn;
        [SerializeField] FunctionButton vipTitleBtn;
        [SerializeField] FunctionButton vipInvestTitleBtn;
        [SerializeField] FunctionButtonGroup buttonGroup;
        [SerializeField] GameObject m_EndImage4;
        private VipModel m_Model;
        private VipModel model
@@ -50,7 +48,6 @@
            rightBtn.onClick.AddListener(buttonGroup.TriggerNext);
            closeBtn.onClick.AddListener(OnClose);
            vipPayTitleBtn.onClick.AddListener(OnVipPay);
            vipMonthInvestTitleBtn.onClick.AddListener(OnMonthInvest);
            vipTitleBtn.onClick.AddListener(OnVip);
            vipInvestTitleBtn.onClick.AddListener(OnVipInvest);
        }
@@ -100,50 +97,8 @@
            functionOrder = 2;
        }
        private void OnMonthInvest()
        {
            CloseChildWin();
            if (windowState == WindowState.Opened)
            {
                WindowCenter.Instance.OpenWithoutAnimation<FairyJadeInvestmentWin>();
            }
            else
            {
                WindowCenter.Instance.Open<FairyJadeInvestmentWin>();
            }
            presentWinType = VipModel.VipWinType.MonthInvest;
            functionOrder = 3;
        }
        protected override void OnPreOpen()
        {
            bool isOpen = false;
            if (fairyJadeInvestmentModel.InvestmentGrade > 0 && fairyJadeInvestmentModel.InvestmentGrade < 3)
            {
                isOpen = true;
            }
            else
            {
                if (fairyJadeInvestmentModel.InvestmentGrade == 3)
                {
                    foreach (int key in fairyJadeInvestmentModel.InfoSeriors.Keys)
                    {
                        if (fairyJadeInvestmentModel.InfoSeriors[key] == 0)
                        {
                            isOpen = true;
                        }
                    }
                }
            }
            if (PlayerDatas.Instance.baseData.LV >= 300 && !isOpen)
            {
                m_EndImage4.SetActive(false);
                vipMonthInvestTitleBtn.gameObject.SetActive(false);
            }
            else
            {
                m_EndImage4.SetActive(true);
                vipMonthInvestTitleBtn.gameObject.SetActive(true);
            }
            CloseChildWin();
            model.OnVipOpenPayWinEvent += OnVipWinOpenEvnet;
            RechargeTipWin.JumpVipPanel += JumpVipPanel;
@@ -198,10 +153,6 @@
            {
                WindowCenter.Instance.CloseImmediately<VipInvestWin>();
            }
            if (WindowCenter.Instance.CheckOpen<FairyJadeInvestmentWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyJadeInvestmentWin>();
            }
            if (WindowCenter.Instance.CheckOpen<RechargeWin>())
            {
                WindowCenter.Instance.CloseImmediately<RechargeWin>();
@@ -227,10 +178,6 @@
                case VipModel.VipWinType.VipInverst:
                    vipInvestTitleBtn.state = TitleBtnState.Click;
                    OnVipInvest();
                    break;
                case VipModel.VipWinType.MonthInvest:
                    vipMonthInvestTitleBtn.state = TitleBtnState.Click;
                    OnMonthInvest();
                    break;
            }
        }
System/Welfare/MultipleExpWin.cs
@@ -15,6 +15,7 @@
    public class MultipleExpWin : Window
    {
        [SerializeField] Text m_MultipleTime;
        [SerializeField] Text m_MultipleDate;
        [SerializeField] Text m_ActivityRule;
        [SerializeField] Image m_MultipleIcon1;
        [SerializeField] Image m_MultipleIcon2;
@@ -64,6 +65,10 @@
            {
                OperationMultiExp operation = operationBase as OperationMultiExp;
                m_MultipleTime.text = operation.ToDisplayTime();
                m_MultipleDate.text = StringUtility.Contact(Language.Get("OperationDate"), operation.startDate.ToDisplay(),
                    operation.startDate == operation.endDate ? string.Empty : "—",
                    operation.startDate == operation.endDate ? string.Empty :
                    operation.endDate.ToDisplay(operation.startDate.year != operation.endDate.year));
                m_ActivityRule.text = Language.Get("MultipleExp_Rule_2", operation.GetMultipleCHS());
                m_MultipleIcon1.SetSprite(StringUtility.Contact("MultipleExp_Icon_", operation.multiple / 10000));
                m_MultipleIcon2.SetSprite(StringUtility.Contact("MultipleExp_Icon_", operation.multiple / 10000));
System/Welfare/OperationTimeHepler.cs
@@ -890,17 +890,12 @@
        {
            var textBuilder = OperationTimeHepler.textBuilder;
            textBuilder.Length = 0;
            textBuilder.Append(startDate.ToDisplay());
            if (startDate == endDate)
            {
                textBuilder.Append(",");
            }
            else
            {
                textBuilder.Append("—");
                textBuilder.Append(endDate.ToDisplay(startDate.year != endDate.year));
                textBuilder.Append(",");
            }
            //textBuilder.Append(startDate.ToDisplay());
            //if (startDate != endDate)
            //{
            //    textBuilder.Append("—");
            //    textBuilder.Append(endDate.ToDisplay(startDate.year != endDate.year));
            //}
            if (allDay)
            {
                textBuilder.Append(Language.Get("OpenAllDay"));
System/Welfare/WelfareCenter.cs
@@ -15,6 +15,8 @@
        BossRebornModel bossRebornModel { get { return ModelCenter.Instance.GetModel<BossRebornModel>(); } }
        FairyJadeInvestmentModel m_FairyJadeInvestmentModel;
        FairyJadeInvestmentModel fairyJadeInvestmentModel { get { return m_FairyJadeInvestmentModel ?? (m_FairyJadeInvestmentModel = ModelCenter.Instance.GetModel<FairyJadeInvestmentModel>()); } }
        /// <summary>
        /// 点击主界面福利按钮打开
        /// </summary>
@@ -69,7 +71,12 @@
                WindowCenter.Instance.Open<WelfareWin>(false, 7);
                return;
            }
            if (fairyJadeInvestmentModel.redPointStre1.state == RedPointState.Simple)
            {
                WindowCenter.Instance.Close<MainInterfaceWin>();
                WindowCenter.Instance.Open<WelfareWin>(false, 8);
                return;
            }
            WindowCenter.Instance.Close<MainInterfaceWin>();
            WindowCenter.Instance.Open<WelfareWin>(false, functionOrder);
        }
@@ -115,7 +122,10 @@
            {
                return 7;
            }
            if (fairyJadeInvestmentModel.redPointStre1.state == RedPointState.Simple)
            {
                return 8;
            }
            return functionOrder;
        }
    }
System/Welfare/WelfareWin.cs
@@ -21,6 +21,7 @@
        [SerializeField] FunctionButton m_ExchangeBtn;
        [SerializeField] FunctionButton m_BossReornBtn;
        [SerializeField] FunctionButton m_NpracticeBtn;
        [SerializeField] FunctionButton m_FairyJadeInvestment;
        [SerializeField] FunctionButtonGroup buttonGroup;
        [SerializeField] Button closeBtn;
@@ -31,7 +32,8 @@
        InSevenDayModel inSevenDay { get { return m_InSevenDayModel ?? (m_InSevenDayModel = ModelCenter.Instance.GetModel<InSevenDayModel>()); } }
    
        BossRebornModel bossRebornModel { get { return ModelCenter.Instance.GetModel<BossRebornModel>(); } }
        FairyJadeInvestmentModel m_FairyJadeInvestmentModel;
        FairyJadeInvestmentModel fairyJadeInvestmentModel { get { return m_FairyJadeInvestmentModel ?? (m_FairyJadeInvestmentModel = ModelCenter.Instance.GetModel<FairyJadeInvestmentModel>()); } }
        #region Built-in
        protected override void BindController()
        {
@@ -47,6 +49,7 @@
            m_NpracticeBtn.AddListener(OnNPractice);
            closeBtn.onClick.AddListener(CloseClick);
            m_BossReornBtn.AddListener(BossRebornBtn);
            m_FairyJadeInvestment.AddListener(FairyJade);
        }
        private void OnPrayer()
@@ -106,6 +109,20 @@
            functionOrder = 7;
        }
        private void FairyJade()
        {
            CloseChildWin();
            if (windowState == WindowState.Opened)
            {
                WindowCenter.Instance.OpenWithoutAnimation<FairyJadeInvestmentWin>();
            }
            else
            {
                WindowCenter.Instance.Open<FairyJadeInvestmentWin>();
            }
            functionOrder = 8;
        }
        private void OnExchange()
        {
            CloseChildWin();
@@ -161,6 +178,34 @@
            else
            {
                Btn_InSeven.gameObject.SetActive(true);
            }
            bool isOpen = false;
            if (fairyJadeInvestmentModel.InvestmentGrade > 0 && fairyJadeInvestmentModel.InvestmentGrade < 3)
            {
                isOpen = true;
            }
            else
            {
                if (fairyJadeInvestmentModel.InvestmentGrade == 3)
                {
                    foreach (int key in fairyJadeInvestmentModel.InfoSeriors.Keys)
                    {
                        if (fairyJadeInvestmentModel.InfoSeriors[key] == 0)
                        {
                            isOpen = true;
                        }
                    }
                }
            }
            if (PlayerDatas.Instance.baseData.LV >= 300 && !isOpen)
            {
                m_FairyJadeInvestment.gameObject.SetActive(false);
            }
            else
            {
                m_FairyJadeInvestment.gameObject.SetActive(true);
            }
            CheckOperationOpen();
@@ -224,6 +269,10 @@
            {
                WindowCenter.Instance.CloseImmediately<NPracticePointWin>();
            }
            if (WindowCenter.Instance.CheckOpen<FairyJadeInvestmentWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyJadeInvestmentWin>();
            }
            WindowCenter.Instance.CloseImmediately<BossRebornWin>();
        }