From 5e77987b90e8d5cea3c5b0600ca21bc4e1f913ea Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期二, 06 一月 2026 11:33:46 +0800
Subject: [PATCH] 282 查看他人-客户端 移除重复定义的枚举

---
 Main/System/HeroUI/HeroCollectionLineCell.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Main/System/HeroUI/HeroCollectionLineCell.cs b/Main/System/HeroUI/HeroCollectionLineCell.cs
index 6f727c2..238e7fa 100644
--- a/Main/System/HeroUI/HeroCollectionLineCell.cs
+++ b/Main/System/HeroUI/HeroCollectionLineCell.cs
@@ -2,16 +2,17 @@
 
 public class HeroCollectionLineCell : CellView
 {
-    [SerializeField] HeroCardCell[] cardList;
+    [SerializeField] HeroCollectionCardCell[] cardList;
 
-    public void Display(int index)
+    public void Display(int index, int quality)
     { 
+        var _List = HeroUIManager.Instance.heroCollectDict[quality];
         for (int i = 0; i < cardList.Length; i++)
         {
-            if (i + index < HeroUIManager.Instance.heroSortList.Count)
+            if (i + index < _List.Count)
             {
                 cardList[i].SetActive(true);
-                cardList[i].Display(index + i);
+                cardList[i].Display(index + i, quality);
             }
             else
             {

--
Gitblit v1.8.0