少年修仙传客户端代码仓库
Client_PangDeRong
2018-10-25 eca2ba69926e66258c711cf45ab3ac9c497235dd
4232 【前端】许愿池功能开发
1个文件已修改
21 ■■■■ 已修改文件
System/OpenServerActivity/WishingPoolModel.cs 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/WishingPoolModel.cs
@@ -373,23 +373,22 @@
        }
        private void UpdateRedpoint()
        {
            int second = 0;
            bool isCool = TryGetFreeWishCoolTime(out second);
            if(IsOpen && !isCool)
            {
                freeWishRedpoint.state = RedPointState.Simple;
            }
            else
            {
                freeWishRedpoint.state = RedPointState.None;
            }
            freeWishRedpoint.state = RedPointState.None;
            for (int i = 0; i < wishPointlist.Count; i++)
            {
                var wishPoint = wishPointlist[i];
                wishPoint.state = RedPointState.None;
            }
            if (!IsOpen) return;
            int second = 0;
            bool isCool = TryGetFreeWishCoolTime(out second);
            if(!isCool)
            {
                freeWishRedpoint.state = RedPointState.Simple;
            }
            for (int i = 0; i < wishPointlist.Count; i++)
            {
                var wishPoint = wishPointlist[i];