hch
2025-11-26 b6012660fb854274539a032294bb9dbb0b75053c
Main/System/HeroUI/HeroUIManager.cs
@@ -27,7 +27,7 @@
    public bool isCustonHeroFormation = false;
    public List<TeamHero> custonTeamHeroes = new List<TeamHero>();
    public Dictionary<int, int> heroStarGuideDic = new Dictionary<int, int>();
    public override void Init()
    {
        DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnBeforePlayerDataInitialize;
@@ -72,7 +72,13 @@
        teamSortByJob = JsonMapper.ToObject<int[]>(config.Numerical2);
        onekeyGuideID = int.Parse(config.Numerical3);
        onekeyGuidePosList = JsonMapper.ToObject<int[]>(config.Numerical4);
        config = FuncConfigConfig.Get("Guide");
        heroStarGuideDic = ConfigParse.ParseIntDict(config.Numerical1);
        config = FuncConfigConfig.Get("HeroDelete");
        jumpDeleteHeroQuality = int.Parse(config.Numerical1);
        isJumpDeleteHero = int.Parse(config.Numerical2) == 1;
    }
    public void OnBeforePlayerDataInitialize()
@@ -508,6 +514,17 @@
        }
    }
    //某个武将图鉴中是否显示红点
    public bool IsBookShowRedPoint(int heroID)
    {
        var state = GetHeroBookState(heroID, HeroConfig.Get(heroID).Quality);
        if (state == 1 || state == 3 || state == 4)
        {
            return true;
        }
        return false;
    }
    void UpdateHeroBookRedpoint()
    {
        if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Hero))