From 09bc892c7283df8757a07b646d5af21ddaa263d1 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 06 十一月 2025 18:22:34 +0800
Subject: [PATCH] 164 天子的考验-客户端
---
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