From 3f4c55d9b7b669619a6dd9f80fd03bd3f1ab74f6 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期二, 13 十一月 2018 16:13:21 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Store/StoreModel.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/System/Store/StoreModel.cs b/System/Store/StoreModel.cs
index f75ae3c..e26af1d 100644
--- a/System/Store/StoreModel.cs
+++ b/System/Store/StoreModel.cs
@@ -877,7 +877,7 @@
             }
         }
     }
-
+    public event Action<int> UpdateHelpPointExchangeEvent;
     public void UpdateCanBuyRedpoint()
     {
         if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Store)) return;
@@ -892,6 +892,13 @@
                     if (UIHelper.GetMoneyCnt(storeConfig.MoneyType) >= (ulong)storeConfig.MoneyNumber)
                     {
                         shopRedDict[storeConfig.ID].state = RedPointState.Simple;
+                        if(storeConfig.ShopType == (int)StoreFunc.IntegralStore)
+                        {
+                            if(UpdateHelpPointExchangeEvent != null)
+                            {
+                                UpdateHelpPointExchangeEvent(key);
+                            }
+                        }
                     }
                     else
                     {

--
Gitblit v1.8.0