From 89343a7a0909e5244a3b69c4db1294de4536243b Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期一, 15 十二月 2025 18:15:22 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 新增仅适用武将解锁的头像和形象的红点移除规则

---
 Main/System/Recharge/RechargeManager.cs |   42 ++++++++++++++++++++----------------------
 1 files changed, 20 insertions(+), 22 deletions(-)

diff --git a/Main/System/Recharge/RechargeManager.cs b/Main/System/Recharge/RechargeManager.cs
index 99d840c..477765d 100644
--- a/Main/System/Recharge/RechargeManager.cs
+++ b/Main/System/Recharge/RechargeManager.cs
@@ -107,8 +107,8 @@
 
     #region 閰嶇疆
     private static string[] lineSplit = new string[] { "</r>" };
-    private int m_CTGDelayTime = 1;   // 鍏呭�肩殑鍏叡闂撮殧锛岃閰嶇疆ChargeDelayTime
-    private int m_CTGLimitDelayTime = 1; // 闄愯喘鍟嗗搧鐨勫厖鍊奸棿闅旓紝瑙侀厤缃瓹hargeDelayTime
+    private int m_CTGDelayTime = 0;   // 鍏呭�肩殑鍏叡闂撮殧锛岃閰嶇疆ChargeDelayTime
+    private int m_CTGLimitDelayTime = 0; // 闄愯喘鍟嗗搧鐨勫厖鍊奸棿闅旓紝瑙侀厤缃瓹hargeDelayTime
 
     //澶氬�嶅浘鐗�
     public Dictionary<int, string> MultiRechageImageDict = new Dictionary<int, string>();
@@ -310,8 +310,6 @@
     private DateTime beforeCTGTime = DateTime.Now;
     private Redpoint rechargeRedpoint = new Redpoint(21);
     public Redpoint firstRechargeRedpoint = new Redpoint(210000);//棣栧厖棰嗗彇绾㈢偣
-    public Redpoint rechargeFuncRedpoint = new Redpoint(21, 2101);
-    public Redpoint rechargeGiftRedpoint = new Redpoint(2101, 210101);//18鍏冪ぜ鍖�
 
     public bool TryGetOrderInfo(int _id, out OrderInfoConfig config)
     {
@@ -702,24 +700,24 @@
 
     private void UpdateRedpoint()
     {
-        if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Recharge))
-        {
-            return;
-        }
-        if (FirstGoldServerDay <= 0 || !IsFirstChargeRewardGetByDay(1))
-        {
-            return;
-        }
-        var list = GetCTGConfigs(VersionConfig.Get().appId);
-        var config = CTGConfig.Get(list[0]);
-        if (m_RechargeCountDict.ContainsKey(config.RecordID))
-        {
-            if (config.DailyBuyCount > 0 &&
-                config.DailyBuyCount <= m_RechargeCountDict[config.RecordID].todayCount)
-            {
-                return;
-            }
-        }
+        // if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Recharge))
+        // {
+        //     return;
+        // }
+        // if (FirstGoldServerDay <= 0 || !IsFirstChargeRewardGetByDay(1))
+        // {
+        //     return;
+        // }
+        // var list = GetCTGConfigs(VersionConfig.Get().appId);
+        // var config = CTGConfig.Get(list[0]);
+        // if (m_RechargeCountDict.ContainsKey(config.RecordID))
+        // {
+        //     if (config.DailyBuyCount > 0 &&
+        //         config.DailyBuyCount <= m_RechargeCountDict[config.RecordID].todayCount)
+        //     {
+        //         return;
+        //     }
+        // }
     }
 
 

--
Gitblit v1.8.0