From 2a9bc6e5b08ab61ca66f8fff73e8baea34e04316 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 11 二月 2026 20:56:33 +0800
Subject: [PATCH] 461 限时冲刺-客户端 任务完成提示
---
Main/System/TimeRush/TimeRushManager.cs | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Main/System/TimeRush/TimeRushManager.cs b/Main/System/TimeRush/TimeRushManager.cs
index 5fce2e5..32e850c 100644
--- a/Main/System/TimeRush/TimeRushManager.cs
+++ b/Main/System/TimeRush/TimeRushManager.cs
@@ -248,6 +248,8 @@
// <杞洖绫诲瀷, 涓婁竴娆$殑CurValue>
public Dictionary<int, int> lastCurValueDict = new Dictionary<int, int>();
+
+ public event Action OnNewAwardHaveEvent;
public void CheckNewAwardHave(int roundType, int curRound, int curValue)
{
if (lastCurRoundDict.ContainsKey(roundType) && lastCurValueDict.ContainsKey(roundType))
@@ -276,11 +278,11 @@
newAwardType = round.AwardType;
newAwardTypeValue = (int)round.AwardTypeValue;
newAwardIndex = Award.AwardIndex;
- // if (!DTC0403_tagPlayerLoginLoadOK.neverLoginOk && !WindowCenter.Instance.IsOpen<CycleHallAchievementTipWin>())
- // {
- // WindowCenter.Instance.Open<CycleHallAchievementTipWin>();
- // }
- // UpdateNewAwardHave?.Invoke();
+ if (!UIManager.Instance.IsOpened<TimeRushTipWin>())
+ {
+ UIManager.Instance.OpenWindow<TimeRushTipWin>();
+ }
+ OnNewAwardHaveEvent?.Invoke();
}
}
}
--
Gitblit v1.8.0