少年修仙传客户端代码仓库
client_linchunjie
2018-11-13 bbe421e9f3abcfffcec6a485c924abff7eeb424b
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
                    {