From 53ce447affac8557a2c0570875d41f45590372d4 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 10 九月 2025 15:46:26 +0800
Subject: [PATCH] 117 【武将】武将系统 - 满级预览
---
 Main/System/HeroUI/HeroUIManager.Collect.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Main/System/HeroUI/HeroUIManager.Collect.cs b/Main/System/HeroUI/HeroUIManager.Collect.cs
index 884f986..c51be67 100644
--- a/Main/System/HeroUI/HeroUIManager.Collect.cs
+++ b/Main/System/HeroUI/HeroUIManager.Collect.cs
@@ -11,13 +11,15 @@
 
 
     public Dictionary<int, List<int>> heroCollectDict { get; private set; } = new Dictionary<int, List<int>>();  //姝﹀皢鍥鹃壌鎸夊搧璐ㄥ垪琛�
+    public List<int> heroCollectList = new List<int>(); //姝﹀皢鍥鹃壌鍒楄〃
     public int selectHeroCollectListJob = 0;    //姝﹀皢鍒楄〃鐣岄潰 绛涢�夎亴涓�
     public int selectHeroCollectListCountry = 0;    //姝﹀皢鍒楄〃鐣岄潰绛涢�夊浗瀹�
-    public int selectCollectHeroID; //閫変腑鐨勬灏唅d
+    public int selectCollectHeroID; //閫変腑鐨勬灏唅d 鐢ㄤ簬鍗囩骇
 
     public int bookMoneyType; //鍥鹃壌濂栧姳璐у竵绫诲瀷
     public int bookMoneyValue;//鍥鹃壌濂栧姳璐у竵鏁伴噺
 
+    public int selectForPreviewHeroID; //閫変腑鐨勬灏唅d 鐢ㄤ簬棰勮
 
     //鍥鹃壌鍜岀毊鑲ょ殑婵�娲绘儏鍐�
     Dictionary<int, HB122_tagSCHeroInfo.tagSCHero> heroCollectInfoDic = new Dictionary<int, HB122_tagSCHeroInfo.tagSCHero>();
@@ -87,6 +89,15 @@
 
             heroCollectDict[heroConfig.Quality].Add(heroID);
         }
+
+        heroCollectList.Clear();
+        //鎸夊搧璐ㄥ�掑簭鍔犲叆
+        var _list = heroCollectDict.Keys.ToList();
+        _list.Reverse();
+        foreach (var quality in _list)
+        {
+            heroCollectList.AddRange(heroCollectDict[quality]);
+        }
     }
 
     //鍥鹃壌鎬讳笂闄愮瓑绾� = 鍥鹃壌鏄熺骇涓婇檺 + 鍥鹃壌绐佺牬涓婇檺
--
Gitblit v1.8.0