少年修仙传客户端代码仓库
leonard Wu
2018-08-03 c2d2d5d3a840bf50968b3f95e304929bc62a7b70
System/Welfare/MultipleExpModel.cs
@@ -7,6 +7,7 @@
    public class MultipleExpModel : Model, IPlayerLoginOk, IBeforePlayerDataInitialize
    {
        private bool showTip = false;
        private bool todayRemind = false;
        public override void Init()
        {
            OperationTimeHepler.Instance.operationStartEvent += OperationStartEvent;
@@ -21,6 +22,7 @@
            if (!(StageManager.Instance.CurrentStage is DungeonStage))
            {
                showTip = true;
                todayRemind = false;
            }
        }
@@ -94,7 +96,7 @@
        {
            if (multipleExpRedpoint.state == RedPointState.Simple)
            {
                DayRemind.Instance.SetDayRemind(DayRemind.MULTIPLE_EXP_REDPOINT, true);
                todayRemind = true;
                UpdateRedpoint();
            }
        }
@@ -109,8 +111,7 @@
        private void UpdateRedpoint()
        {
            multipleExpRedpoint.state = RedPointState.None;
            if (DayRemind.Instance.GetDayRemind(DayRemind.MULTIPLE_EXP_REDPOINT)
                || !Open())
            if (todayRemind || !Open())
            {
                multipleExpRedpoint.state = RedPointState.None;
                return;