少年修仙传客户端代码仓库
client_linchunjie
2018-08-14 fb30597fd64811a33fe02d24285a7f107b382152
2453【前端】充值、福利、活动界面整合
1个文件已修改
39 ■■■■■ 已修改文件
System/OpenServerActivity/ImpactRankModel.cs 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/ImpactRankModel.cs
@@ -648,7 +648,18 @@
        private void OperationEndEvent(Operation type, int state)
        {
            if (type == Operation.FlashSale && state == 0)
            if ((type == Operation.FlashSale || type == Operation.BossReborn
                || type == Operation.ConsumeRebate || type == Operation.GiftPackage
                || type == Operation.MultipRealmPoint)
                && state == 0)
            {
                if (openServerActivityStateChange != null)
                {
                    openServerActivityStateChange();
                }
            }
            if ((type == Operation.MultipleExp)
                && state == 1)
            {
                if (openServerActivityStateChange != null)
                {
@@ -659,7 +670,18 @@
        private void OperationStartEvent(Operation type, int state)
        {
            if (type == Operation.FlashSale && state == 0)
            if ((type == Operation.FlashSale || type == Operation.BossReborn
                || type == Operation.ConsumeRebate || type == Operation.GiftPackage
                || type == Operation.MultipRealmPoint)
                && state == 0)
            {
                if (openServerActivityStateChange != null)
                {
                    openServerActivityStateChange();
                }
            }
            if ((type == Operation.MultipleExp)
                && state == 1)
            {
                if (openServerActivityStateChange != null)
                {
@@ -753,19 +775,6 @@
        public bool IsFlashSaleOpen()
        {
            return flashSaleModel.IsOpen;
        }
        public bool IsFlashSaleTitle()
        {
            if (IsImpactRankOpen() || IsRedEnvelopeOpen() || IsTimeLimitGiftOpen())
            {
                return false;
            }
            if (IsFlashSaleOpen())
            {
                return true;
            }
            return false;
        }
        public bool IsConsumeRebateOpen()