From eb27e5fd31f73b998a4bbd85511a31e40b8c61b7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 21 十一月 2025 17:03:47 +0800
Subject: [PATCH] 0312 关闭游戏内日志

---
 Main/System/Message/SysNotifyMgr.cs |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/Main/System/Message/SysNotifyMgr.cs b/Main/System/Message/SysNotifyMgr.cs
index d6c6a95..1e7710e 100644
--- a/Main/System/Message/SysNotifyMgr.cs
+++ b/Main/System/Message/SysNotifyMgr.cs
@@ -1,5 +1,4 @@
-锘縰sing vnxbqy.UI;
-using System;
+锘縰sing System;
 using System.Collections;
 using System.Collections.Generic;
 using System.Text.RegularExpressions;
@@ -67,13 +66,12 @@
         // BattleHint.Instance.OnStageLoadFinish();
     }
 
-    private void BeforePlayerDataInitializeEvent()
+    public void BeforePlayerDataInitializeEvent()
     {
         ScrollTip.m_Hints.Clear();
         ServerTipDetails.ClearHint();
     }
 
-    // // TODO YYL
     public void ReceiveNotifyCode(H0212_tagNotifyCode vNetData)
     {
         if (vNetData != null)
@@ -151,6 +149,7 @@
         }
     }
 
+    //淇℃伅鎻愮ず琛ㄧ殑鎻愮ず
     public void ShowTip(string key, params object[] msg)
     {
         SysInfoConfig cfg = SysInfoConfig.Get(key);
@@ -160,6 +159,23 @@
             tipInfoList.AddRange(msg);
             AnalysisSysmsg(cfg);
         }
+        else
+        {
+            Debug.LogError("鏈壘鍒扮郴缁熸彁绀轰俊鎭�: " + key);
+        }
+    }
+
+    //璇█琛ㄧ殑鎻愮ず
+    public void ShowLangTip(string key, params object[] msg)
+    {
+        string hint = Language.Get(key, msg);
+        ScrollTip.ShowTip(hint);
+    }
+
+    //鐩存帴浼犳枃瀛楃殑鎻愮ず
+    public void ShowStringTip(string hint)
+    {
+        ScrollTip.ShowTip(hint);
     }
 
     void AnalysisSysmsg(SysInfoConfig cfg)

--
Gitblit v1.8.0