From 5d6f34baa8b0f80fdc1b9c9c5a4f3d022feb5ea7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 15 五月 2019 15:54:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/MainInterfacePanel/MainButtonMisc.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/System/MainInterfacePanel/MainButtonMisc.cs b/System/MainInterfacePanel/MainButtonMisc.cs
index 90b0981..fc2390a 100644
--- a/System/MainInterfacePanel/MainButtonMisc.cs
+++ b/System/MainInterfacePanel/MainButtonMisc.cs
@@ -64,8 +64,8 @@
             OSEnvelopeModel.OSRedEnvelopeInfoEnvent += OnRedBagGet;
             RedpointCenter.Instance.redpointValueChangeEvent += RedpointValueChangeEvent;
             PlayerDatas.Instance.playerDataRefreshEvent += Updatefighting;
-            GA_NpcCollect.OnArrive += OnArriveCollectNPC;
-            GA_NpcCollect.OnLeave += OnLeaveCollectNpc;
+            PrepareHandler.Instance.OnShowCollectIcon += OnArriveCollectNPC;
+            PrepareHandler.Instance.OnHideCollectIcon += OnLeaveCollectNpc;
             ClientCollectUtility.OnShowCollectIcon += OnArriveCollectNPC;
             ClientCollectUtility.OnHideCollectIcon += OnLeaveCollectNpc;
             wishModel.UpdateWishAwardEvent += UpdateWishAwardImag;
@@ -90,8 +90,8 @@
             OSEnvelopeModel.OSRedEnvelopeInfoEnvent -= OnRedBagGet;
             RedpointCenter.Instance.redpointValueChangeEvent -= RedpointValueChangeEvent;
             PlayerDatas.Instance.playerDataRefreshEvent -= Updatefighting;
-            GA_NpcCollect.OnArrive -= OnArriveCollectNPC;
-            GA_NpcCollect.OnLeave -= OnLeaveCollectNpc;
+            PrepareHandler.Instance.OnShowCollectIcon -= OnArriveCollectNPC;
+            PrepareHandler.Instance.OnHideCollectIcon -= OnLeaveCollectNpc;
             ClientCollectUtility.OnShowCollectIcon -= OnArriveCollectNPC;
             ClientCollectUtility.OnHideCollectIcon -= OnLeaveCollectNpc;
             wishModel.UpdateWishAwardEvent -= UpdateWishAwardImag;

--
Gitblit v1.8.0