少年修仙传客户端代码仓库
client_Zxw
2018-09-20 71755f864a0ead2852bf59eeef63937f1f16f608
1973 VIP投资领取完奖励后,红点不消失
3个文件已修改
25 ■■■■ 已修改文件
System/Vip/LimitedTimePackageWin.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipInvest/VipInvestModel.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipInvest/VipInvestWin.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/LimitedTimePackageWin.cs
@@ -109,7 +109,15 @@
                            {
                                if (OperationTimeHepler.Instance.SatisfyAdvanceCondition(Operation.GiftPackage))
                                {
                                    SysNotifyMgr.Instance.ShowTip("LimitGilt1");
                                    var seconds = 0;
                                    if (operationBase != null)
                                    {
                                        if (operationBase.InAdvanceTime(TimeUtility.ServerNow))
                                        {
                                            seconds = operationBase.GetSecondsBeforeStart(TimeUtility.ServerNow);
                                        }
                                    }
                                    SysNotifyMgr.Instance.ShowTip("LimitGilt1", TimeUtility.SecondsToDHMSCHS(seconds));
                                    return;
                                }
                                else
System/Vip/VipInvest/VipInvestModel.cs
@@ -414,6 +414,7 @@
        private void VipInvestRedPoint()//Vip 投资红点
        {
            JumpIndex = 0;
            redPointStre1.state = RedPointState.None;
            InvestInfo = GetInvestInfoByType((int)InvestType.Vip);
            cycle = GetInvestCycle(InvestInfo.curDay);
            if (InvestInfo.investGold <= 0)
System/Vip/VipInvest/VipInvestWin.cs
@@ -51,7 +51,12 @@
            }
            else
            {
                m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, (7 - InvestInfo.curDay).ToString(), true));
                int Day = 0;
                if (7 - InvestInfo.curDay > 0)
                {
                    Day = 7 - InvestInfo.curDay;
                }
                m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, Day.ToString(), true));
            }
            if (InvestInfo.investGold <= 0)
@@ -118,7 +123,12 @@
                }
                else
                {
                    m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, (7 - InvestInfo.curDay).ToString(), true));
                    int Day = 0;
                    if (7 - InvestInfo.curDay > 0)
                    {
                        Day = 7 - InvestInfo.curDay;
                    }
                    m_RemainingDays.text = string.Format(Language.Get("TheRemainingNumberDays_Z"), UIHelper.GetTextColorByItemColor(TextColType.Green, Day.ToString(), true));
                }
            }
        }