From 5048f6b535946e3c64a2cde4c3bb35ca732af9b4 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 28 五月 2019 10:42:50 +0800
Subject: [PATCH] 3335 去掉旧骑宠争夺代码

---
 System/MainInterfacePanel/InGamePushContainer.cs |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/System/MainInterfacePanel/InGamePushContainer.cs b/System/MainInterfacePanel/InGamePushContainer.cs
index 92dd89e..7ff7918 100644
--- a/System/MainInterfacePanel/InGamePushContainer.cs
+++ b/System/MainInterfacePanel/InGamePushContainer.cs
@@ -24,7 +24,6 @@
         [SerializeField] OffLineTimeLackBehaviour m_OffLineTimeLackBehaviour;
         [SerializeField] DungeonGuardCheckBehaviour m_DungeonGuardBehaviour;
         [SerializeField] FirstChargeTrialBehaviour m_FirstChargeTrialBehaviour;
-        [SerializeField] FairyGrabBossHelpBehaviour m_FairyGrabBossHelpBehaviour;
         [SerializeField] DogzNotifyBehaviour m_DogzNotifyBehaviour;
         [SerializeField] InSevenDayBehavior m_InSevenDayBehavior;
         [SerializeField] FBHelpPointExchageNotify m_HelpPointExchangeNotify;
@@ -52,7 +51,6 @@
         OffLineTimeLackModel offLineTimeLackModel { get { return ModelCenter.Instance.GetModel<OffLineTimeLackModel>(); } }
         GuardModel guardModel { get { return ModelCenter.Instance.GetModel<GuardModel>(); } }
         FirstTimeRechargeModel firstTimeRechargeModel { get { return ModelCenter.Instance.GetModel<FirstTimeRechargeModel>(); } }
-        FairyGrabBossModel fairyGrabBossModel { get { return ModelCenter.Instance.GetModel<FairyGrabBossModel>(); } }
         DogzModel dogzModel { get { return ModelCenter.Instance.GetModel<DogzModel>(); } }
         InSevenDayModel inSevenDayModel { get { return ModelCenter.Instance.GetModel<InSevenDayModel>(); } }
         AuctionNewGetShowModel auctionNewGetShowModel { get { return ModelCenter.Instance.GetModel<AuctionNewGetShowModel>(); } }
@@ -70,7 +68,6 @@
             SetInGamePush(m_OffLineTimeLackBehaviour, m_OffLineTimeLackBehaviour.transform);
             SetInGamePush(m_DungeonGuardBehaviour, m_DungeonGuardBehaviour.transform);
             SetInGamePush(m_FirstChargeTrialBehaviour, m_FirstChargeTrialBehaviour.transform);
-            SetInGamePush(m_FairyGrabBossHelpBehaviour, m_FairyGrabBossHelpBehaviour.transform);
             SetInGamePush(m_DogzNotifyBehaviour, m_DogzNotifyBehaviour.transform);
             SetInGamePush(m_InSevenDayBehavior, m_InSevenDayBehavior.transform);
             SetInGamePush(m_HelpPointExchangeNotify, m_HelpPointExchangeNotify.transform);
@@ -100,7 +97,6 @@
             CheckOffLineLack();
             CheckDungeonGuard();
             FirstChargeTrialShow();
-            CheckFairyGrabBossHelp();
             CheckDogzNotify();
             InSevenDayShow();
             CheckHelpPointExchange();
@@ -118,7 +114,6 @@
             NewBieCenter.Instance.guideBeginEvent += OnNewBieGuideBegin;
             guardModel.onDungeonEquipGuardEvent += CheckDungeonGuard;
             firstTimeRechargeModel.IsTipShowEvent += FirstChargeTrialShow;
-            fairyGrabBossModel.fairyGrabBossHelpUpdate += CheckFairyGrabBossHelp;
             dogzModel.UpdateDogzPutRedEvent += CheckDogzNotify;
             auctionNewGetShowModel.newAcutionRefreshEvent += CheckNewAuction;
         }
@@ -127,7 +122,6 @@
         {
             m_MyFocusBehavio.Unit();
             m_AlchemyNotifyBehaviour.UnInitialize();
-            fairyGrabBossModel.helpCoolDown = false;
             exchageModel.UpdateHelpPointShopEvent -= CheckHelpPointExchange;
             playerPack.RefreshDecomAttrAct -= CheckEquipDecompose;
             betterEquipGetModel.showEquipRefreshEvent -= CheckBetterEquip;
@@ -138,7 +132,6 @@
             guardModel.onDungeonEquipGuardEvent -= CheckDungeonGuard;
             firstTimeRechargeModel.IsTipShowEvent -= FirstChargeTrialShow;
             realmEquipModel.showEquipRefreshEvent -= CheckRealmBetterEquip;
-            fairyGrabBossModel.fairyGrabBossHelpUpdate -= CheckFairyGrabBossHelp;
             dogzModel.UpdateDogzPutRedEvent -= CheckDogzNotify;
             auctionNewGetShowModel.newAcutionRefreshEvent -= CheckNewAuction;
         }
@@ -440,18 +433,6 @@
 
         }
 
-        private void CheckFairyGrabBossHelp()
-        {
-            if (fairyGrabBossModel.fairyGrabBossHelps.Count > 0)
-            {
-                m_FairyGrabBossHelpBehaviour.gameObject.SetActive(true);
-                m_FairyGrabBossHelpBehaviour.Display();
-            }
-            else
-            {
-                SnxxzGame.Instance.StartCoroutine(Co_DeActiveFairyGrabBoss());
-            }
-        }
         private void InSevenDayShow()
         {
             if (inSevenDayModel.IsMainGo)
@@ -462,15 +443,6 @@
             else
             {
                 m_InSevenDayBehavior.gameObject.SetActive(false);
-            }
-        }
-
-        IEnumerator Co_DeActiveFairyGrabBoss()
-        {
-            yield return null;
-            if (fairyGrabBossModel.fairyGrabBossHelps.Count == 0)
-            {
-                m_FairyGrabBossHelpBehaviour.gameObject.SetActive(false);
             }
         }
 

--
Gitblit v1.8.0