From bb463ef0b13236738a1da9cd04f57def3e7e2c7c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 29 八月 2025 15:21:51 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Message/SysNotifyMgr.cs |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/Main/System/Message/SysNotifyMgr.cs b/Main/System/Message/SysNotifyMgr.cs
index 8726da1..1e7710e 100644
--- a/Main/System/Message/SysNotifyMgr.cs
+++ b/Main/System/Message/SysNotifyMgr.cs
@@ -66,7 +66,7 @@
         // BattleHint.Instance.OnStageLoadFinish();
     }
 
-    private void BeforePlayerDataInitializeEvent()
+    public void BeforePlayerDataInitializeEvent()
     {
         ScrollTip.m_Hints.Clear();
         ServerTipDetails.ClearHint();
@@ -149,6 +149,7 @@
         }
     }
 
+    //淇℃伅鎻愮ず琛ㄧ殑鎻愮ず
     public void ShowTip(string key, params object[] msg)
     {
         SysInfoConfig cfg = SysInfoConfig.Get(key);
@@ -159,11 +160,24 @@
             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)
     {
         SysNotifySound(cfg.sound);

--
Gitblit v1.8.0