From ab82a71eab5f13795876b913b7423fb3e6a4f374 Mon Sep 17 00:00:00 2001 From: lcy <1459594991@qq.com> Date: 星期一, 20 十月 2025 19:44:29 +0800 Subject: [PATCH] 143 演武场-客户端 战斗支持显示国家武将数量及点击展示详情,修复层级 --- Main/System/HeroUI/HeroUIManager.cs | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Main/System/HeroUI/HeroUIManager.cs b/Main/System/HeroUI/HeroUIManager.cs index 290919f..723800a 100644 --- a/Main/System/HeroUI/HeroUIManager.cs +++ b/Main/System/HeroUI/HeroUIManager.cs @@ -24,6 +24,10 @@ //浣跨敤鏂规硶锛氬叾浠栧姛鑳界晫闈㈣缃鍊煎嵆鍙� public KeyValuePair<string, long> lastFightPower = new KeyValuePair<string, long>(); + public bool isCustonHeroFormation = false; + public List<TeamHero> custonTeamHeroes = new List<TeamHero>(); + + public override void Init() { DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnBeforePlayerDataInitialize; @@ -449,11 +453,11 @@ { heroOnTeamRedpointList.Clear(); for (int i = 0; i < TeamConst.MaxTeamHeroCount; i++) - { + { heroOnTeamRedpointList.Add(new Redpoint(MainRedDot.HeroCardRedpoint, MainRedDot.HeroCardRedpoint * 10 + i)); } } - + //姝﹀皢鍗$殑绾㈢偣:鍙粰涓婇樀姝﹀皢鍒风孩鐐癸紙鍚柊鏍囪瘑锛夛紝闈炰笂闃垫灏嗙殑鏂板浘鏍囨寜鍥剧墖澶勭悊涓嶅綊绫讳负绾㈢偣 void UpdateHeroCardRedpoint() @@ -490,7 +494,7 @@ { heroBookRedpointList.Clear(); foreach (var key in HeroConfig.GetKeys()) - { + { var config = HeroConfig.Get(key); if (config.PlayerCanUse == 0) continue; @@ -560,7 +564,7 @@ { None = 0, //鏃犲姛鑳� Break = 1, //绐佺牬 - Gift = 2, //澶╄祴鍚炲櫖 + Gift = 2, //澶╄祴鍚炲櫖 Awake = 3, //瑙夐啋 } #endregion \ No newline at end of file -- Gitblit v1.8.0