From 39e8090ed6471b2f95743681d89fb524eea8e00a Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 04 七月 2025 10:33:43 +0800
Subject: [PATCH] 70 子 【常规】排行榜 / 【常规】排行榜-客户端

---
 Main/System/BillboardRank/RankModel.cs      |    9 +--------
 Main/System/BillboardRank/PlayerRankCell.cs |    2 +-
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/Main/System/BillboardRank/PlayerRankCell.cs b/Main/System/BillboardRank/PlayerRankCell.cs
index 44f19bd..2fb628c 100644
--- a/Main/System/BillboardRank/PlayerRankCell.cs
+++ b/Main/System/BillboardRank/PlayerRankCell.cs
@@ -34,7 +34,7 @@
                                                 PlayerDatas.Instance.baseData.face,
                                                 PlayerDatas.Instance.baseData.facePic));
                 rankText.text = Language.Get("L1045");
-                rankValueText.text = valueFormat;
+                rankValueText.text = "0";//Language.Get("L1125");
                 nameText.text = PlayerDatas.Instance.baseData.PlayerName;
                 officialTitleCell.InitUI(PlayerDatas.Instance.baseData.realmLevel, PlayerDatas.Instance.baseData.TitleID);
                 return;
diff --git a/Main/System/BillboardRank/RankModel.cs b/Main/System/BillboardRank/RankModel.cs
index 7710e25..f7cafcc 100644
--- a/Main/System/BillboardRank/RankModel.cs
+++ b/Main/System/BillboardRank/RankModel.cs
@@ -18,8 +18,6 @@
     //绫诲瀷锛欼D -鎺掑悕绱㈠紩锛岄�氳繃ID杩涜鎺掗噸鍒犻櫎 涓嶅悓鍚嶆 鍚孖D鐨勬暟鎹�
     Dictionary<int, Dictionary<int, int>> m_RankIDToIndex = new Dictionary<int, Dictionary<int, int>>();
 
-    Action completeEvent = null;    //鏌ヨ瀹屾垚浜嬩欢
-
     //鐩戝惉鎺掕姒滄樉绀哄悕娆★紝鐢ㄤ簬鍒嗛〉鏌ヨ锛岀涓�椤垫煡璇㈢敱澶栭儴瑙﹀彂
     //浣跨敤鍦烘櫙 濡傜晫闈㈡帓琛屾婊氬姩鐨勬椂鍊欐瘡娆℃煡璇�30涓帓鍚嶅悕棰濓紝鍦ㄦ樉绀哄ぇ浜巑*30 +20鍚嶆椂锛岀洃鍚笅涓�椤碉紝鏌ヨm+1椤�
     int pageCnt = 20; //姣忛〉鏌ヨ鏉℃暟
@@ -98,15 +96,12 @@
     //
     //  startIndex 鍜� count 閰嶅锛屼笌watchID鏃犲叧鑱�
     //  watchID;    //鏌ョ湅鎸囧畾ID鍚嶆鍓嶅悗锛屾煡璇㈣寖鍥存湇鍔$宸插浐瀹氾紝濡傛灉鍙鏌ユ寚瀹氱洰鏍囷紝count鍙互璁剧疆1鍑忓皯闄勫姞淇℃伅
-    public void QueryRankByPage(int type, int startIndex = 0, int count = 20, int watchID = 0, bool forceQuery = false, int groupValue1 = 0, int groupValue2 = 0, Action complete = null)
+    public void QueryRankByPage(int type, int startIndex = 0, int count = 20, int watchID = 0, bool forceQuery = false, int groupValue1 = 0, int groupValue2 = 0)
     {
-        completeEvent = complete;
         if (queryRankCD.ContainsKey(type) && !forceQuery)
         {
             if (Time.time - queryRankCD[type] < 2f)
             {
-                completeEvent?.Invoke();
-                completeEvent = null;
                 return;
             }
         }
@@ -277,8 +272,6 @@
             onRankRefresh?.Invoke(package.Type);
         }
 
-        completeEvent?.Invoke();
-        completeEvent = null;
     }
 
     //鎺掑悕浠�1 寮�濮�

--
Gitblit v1.8.0