| | |
| | | IceCrystalVeinModel m_IceCrystalVeinModel;
|
| | | IceCrystalVeinModel iceCrystalVeinModel { get { return m_IceCrystalVeinModel ?? (m_IceCrystalVeinModel = ModelCenter.Instance.GetModel<IceCrystalVeinModel>()); } }
|
| | | #region Built-in
|
| | | private bool IsUpdateBool=true;
|
| | | protected override void BindController()
|
| | | {
|
| | | m_MapSwitchingBehaviour.InitAwake();
|
| | |
| | | {
|
| | | IsOpenMaininterface();
|
| | | }
|
| | | IsUpdateBool = true;
|
| | | SliderOpen = true;
|
| | | horseRidBool = false;
|
| | | friendsModel.askAddFriendEvent = FriendQuestBtn;
|
| | |
| | | purchaseModel.UpdateNewMysticalEvent += UpdateMysticalPurchaseImag;
|
| | | fairyGrabBossModel.gotoBossStateUpdate += ShowFairyGrabBoss;
|
| | | ChatTip.OnChatUpEvent += RefreshAdaptiveChat;
|
| | | GlobalTimeEvent.Instance.secondEvent += secondEvent;
|
| | | IsCrossServerOneVsOne();
|
| | | SetAtkType();
|
| | | }
|
| | |
| | | NewBieCenter.Instance.guideBeginEvent -= GuideBeginEvent;
|
| | | fairyGrabBossModel.gotoBossStateUpdate -= ShowFairyGrabBoss;
|
| | | ChatTip.OnChatUpEvent -= RefreshAdaptiveChat;
|
| | | GlobalTimeEvent.Instance.secondEvent -= secondEvent;
|
| | | if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<FunctionForecastWin>();
|
| | |
| | | fairyGrabBossModel.bossGrabHintEvent -= bossGrabHintEvent;
|
| | | wishModel.UpdateWishAwardEvent -= UpdateWishAwardImag;
|
| | | m_CollectBehaviour.gameObject.SetActive(false);
|
| | | }
|
| | |
|
| | | private void secondEvent()
|
| | | {
|
| | | if (IsUpdateBool)
|
| | | {
|
| | | StartCoroutine(featureNoticeModel.WhetherToPlayTheBox());//功能预告
|
| | | IsUpdateBool = false;
|
| | | }
|
| | | }
|
| | |
|
| | | private void GuideBeginEvent()
|
| | |
| | | ArticleExperience();//关于经验条
|
| | | if (_tCDBPlayerRefresh == PlayerDataRefresh.LV)
|
| | | {
|
| | | StartCoroutine(featureNoticeModel.WhetherToPlayTheBox());//功能预告
|
| | | IsUpdateBool = true; |
| | | }
|
| | | if (_tCDBPlayerRefresh == PlayerDataRefresh.ExAttr5)//判断是否再跨服
|
| | | {
|