From fe2805709cbd8cee561b475eda53674fbf06ef9e Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期二, 23 六月 2026 17:02:26 +0800
Subject: [PATCH] 662 武将试炼

---
 Main/System/ChallengeTab/BaseChallengeTabHandler.cs |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/Main/System/ChallengeTab/BaseChallengeTabHandler.cs b/Main/System/ChallengeTab/BaseChallengeTabHandler.cs
index 04b67b8..49ba4ad 100644
--- a/Main/System/ChallengeTab/BaseChallengeTabHandler.cs
+++ b/Main/System/ChallengeTab/BaseChallengeTabHandler.cs
@@ -17,7 +17,8 @@
         // 鍒濆鍖栦竴娆� DisplayData锛屼箣鍚庡彧淇敼鍙樺寲鐨勫瓧娈�
         displayData = new ChallengeTabButton.DisplayData
         {
-            Index = GetIndex(),
+            IconKey = GetIconKey(),
+            NameText = GetNameText(),
             RedpointId = GetRedpointId(),
             OpenState = GetOpenState(),
             FuncId = GetFuncId(),
@@ -67,9 +68,14 @@
     }
 
     /// <summary>
-    /// 鑾峰彇Tab鐨勭储寮曪紙鐢ㄤ簬Icon鍜孨ame锛�
+    /// 鑾峰彇Tab鍥炬爣Key
     /// </summary>
-    protected abstract int GetIndex();
+    protected abstract string GetIconKey();
+
+    /// <summary>
+    /// 鑾峰彇Tab鏄剧ず鍚嶇О
+    /// </summary>
+    protected abstract string GetNameText();
 
     /// <summary>
     /// 鑾峰彇寮�鍚柟寮� (0=FuncID, 1=娲诲姩)
@@ -105,4 +111,4 @@
     /// 鍙栨秷璁㈤槄姝ab鐗规湁鐨勪簨浠�
     /// </summary>
     protected abstract void UnsubscribeFromSpecificEvents();
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0