少年修仙传客户端代码仓库
client_Zxw
2018-11-14 252d46b8642ad4ecebe1a8b9d3a0678913413ebf
System/MainInterfacePanel/HighSettingTip.cs
@@ -427,13 +427,15 @@
        private void RefreshStoreEffect()
        {
            storeDesBtn.gameObject.SetActive(false);
            int limitLv = int.Parse(Config.Instance.Get<FuncConfigConfig>("MallPush").Numerical1);
            if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Store)
                || PlayerDatas.Instance.baseData.LV < limitLv)
                || PlayerDatas.Instance.baseData.LV < storeModel.storeTrailerLv
                || !storeModel.IsNewDay(storeModel.StoreEffectRecord_Key))
                return;
            List<StoreConfig> shoplist = ModelCenter.Instance.GetModel<StoreModel>().shoplist;
            if (shoplist.Count > 0 && !m_StoreEffect.IsPlaying)
            var storeDatas = storeModel.TryGetStoreDatas((int)StoreFunc.WeekStore);
            if (storeDatas != null
                && storeDatas.Count > 0
                && !m_StoreEffect.IsPlaying)
            {
                if (isNeedTip)
                {
@@ -447,7 +449,7 @@
                }
                m_StoreEffect.Play();
            }
            else if (shoplist.Count <= 0 && m_StoreEffect.IsPlaying)
            else
            {
                m_StoreEffect.StopImediatly();
            }