From 8bb385e27c6e35b521822dc860edd6ba9fe3d41a Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 18 三月 2026 15:04:40 +0800
Subject: [PATCH] 492 武将登场-客户端 支持跳转签到,皇权礼包,兑换商店,跳转皇权招募不需要附件条件

---
 Main/System/UIBase/UIJumpManager.cs |   51 ++++++++++++++++++++-------------------------------
 1 files changed, 20 insertions(+), 31 deletions(-)

diff --git a/Main/System/UIBase/UIJumpManager.cs b/Main/System/UIBase/UIJumpManager.cs
index ec55d7e..4b63ee1 100644
--- a/Main/System/UIBase/UIJumpManager.cs
+++ b/Main/System/UIBase/UIJumpManager.cs
@@ -8,8 +8,6 @@
 /// </summary>
 public class UIJumpManager : GameSystemManager<UIJumpManager>
 {
-
-
 	public override void Init()
 	{
 	}
@@ -63,49 +61,40 @@
 				}
 			}
 		}
-		else if (config.WinName == "HeroDebutCallWin")
+		else if (config.WinName == "HeroDebutCallWin" ||
+				config.WinName == "HeroDebutSkinWin" ||
+				config.WinName == "HeroDebutCheckInWin" ||
+				config.WinName == "HeroDebutGiftWin" ||
+				config.WinName == "HeroDebutShopWin")
 		{
 			var heroDebutAct = HeroDebutManager.Instance.GetOperationHeroAppearInfo();
-			if (heroDebutAct == null) return;
-
-			ActHeroAppearConfig actHeroAppearConfig = ActHeroAppearConfig.Get(heroDebutAct.CfgID);
-			if (actHeroAppearConfig == null) return;
-
-			if (actHeroAppearConfig.ExShopCostItemID != int.Parse(config.Extra))
+			if (heroDebutAct == null)
 			{
 				SysNotifyMgr.Instance.ShowTip("ActivityNoOpen");
 				return;
 			}
-			else
-			{
-				if (UIManager.Instance.IsOpened<HeroDebutCallWin>())
-				{
-					UIManager.Instance.CloseWindow<HeroDebutCallWin>();
-					UIManager.Instance.OpenWindow<HeroDebutCallWin>();
-				}
-			}
-		}
-		else if (config.WinName == "HeroDebutSkinWin")
-		{
-			var heroDebutAct = HeroDebutManager.Instance.GetOperationHeroAppearInfo();
-			if (heroDebutAct == null) return;
-
-			ActHeroAppearConfig actHeroAppearConfig = ActHeroAppearConfig.Get(heroDebutAct.CfgID);
-			if (actHeroAppearConfig == null) return;
-
-			if (!HeroDebutManager.Instance.HasItemInSkinCTGIDList(heroDebutAct.CfgID, int.Parse(config.Extra)))
+			var actHeroAppearConfig = ActHeroAppearConfig.Get(heroDebutAct.CfgID);
+			if (actHeroAppearConfig == null)
 			{
 				SysNotifyMgr.Instance.ShowTip("ActivityNoOpen");
 				return;
 			}
-			else
+
+			// 鐨偆鍟嗗簵闇�瑕佸垽鏂墿鍝両D
+			if (config.WinName == "HeroDebutSkinWin")
 			{
-				if (UIManager.Instance.IsOpened<HeroDebutCallWin>())
+				if (!HeroDebutManager.Instance.HasItemInSkinCTGIDList(heroDebutAct.CfgID, int.Parse(config.Extra)))
 				{
-					UIManager.Instance.CloseWindow<HeroDebutCallWin>();
-					UIManager.Instance.OpenWindow<HeroDebutCallWin>();
+					SysNotifyMgr.Instance.ShowTip("ActivityNoOpen");
+					return;
 				}
 			}
+
+			if (UIManager.Instance.IsOpened(config.WinName))
+			{
+				UIManager.Instance.CloseWindow(config.WinName);
+				UIManager.Instance.OpenWindow(config.WinName);
+			}
 		}
 
 		if (!UIManager.Instance.IsOpened(config.WinName))

--
Gitblit v1.8.0