hch
2025-09-08 14a9dc8c9b83dd7627f8ed99a163ebc41c1f9b8e
Main/System/HeroUI/HeroUIManager.cs
@@ -84,6 +84,18 @@
        {
            UIManager.Instance.OpenWindow<HeroGiftEatSuccessWin>();
        }
        else if (waitResponse.type == HeroFuncType.Awake)
        {
            var config = HeroAwakeConfig.GetHeroAwakeConfig(hero.heroId, hero.awakeLevel);
            if (hero.talentAwakeRandomIDList.Count > 0)
            {
                UIManager.Instance.OpenWindow<HeroAwakeSelectGiftWin>();
            }
            else if (config.SkillID != 0 || config.UnlockTalentSlot != 0)
            {
                UIManager.Instance.OpenWindow<HeroAwakeSuccessWin>();
            }
        }
        waitResponse = default;
    }
@@ -304,6 +316,7 @@
}
#region 等待服务端响应
public struct WaitHeroFuncResponse
{
    public HeroFuncType type;
@@ -317,5 +330,6 @@
    None = 0,   //无功能
    Break = 1,  //突破
    Gift  = 2,  //天赋吞噬
    Awake = 3,  //觉醒
}
#endregion