From aee07e17664b4e598f4bc54460cffce26b8b823f Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 15 十二月 2025 11:21:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

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

diff --git a/Main/System/Message/SysNotifyMgr.cs b/Main/System/Message/SysNotifyMgr.cs
index 9da1a2f..40f281b 100644
--- a/Main/System/Message/SysNotifyMgr.cs
+++ b/Main/System/Message/SysNotifyMgr.cs
@@ -154,6 +154,10 @@
         SysInfoConfig cfg = SysInfoConfig.Get(key);
         if (cfg != null)
         {
+            if (string.IsNullOrEmpty(cfg.richText))
+            {
+                return;
+            }
             tipInfoList.Clear();
             tipInfoList.AddRange(msg);
             AnalysisSysmsg(cfg);
@@ -236,10 +240,10 @@
                     ServerTipDetails.ShowMarquee(msg, tipInfoList, order);
                     break;
                 case SysNotifyType.ChatChannelWorld:
-                    ChatManager.Instance.AddSysData(msg, tipInfoList, ChatChannel.World);
+                    ChatManager.Instance.AddSysData(msg, tipInfoList, ChatChannel.World, true);
                     break;
                 case SysNotifyType.ChatChannelGuild:
-                    ChatManager.Instance.AddSysData(msg, tipInfoList, ChatChannel.Guild);
+                    ChatManager.Instance.AddSysData(msg, tipInfoList, ChatChannel.Guild, true);
                     break;
                 case SysNotifyType.SysRealmTip:
                     if (OnSysTipEvent != null)
@@ -248,10 +252,10 @@
                     }
                     break;
 
-                //  TODO YYL    
-                // case SysNotifyType.SysEvenKill:
-                //     BattleHint.Instance.ReceiveEvenKill(msg, tipInfoList);
-                //     break;
+                    //  TODO YYL    
+                    // case SysNotifyType.SysEvenKill:
+                    //     BattleHint.Instance.ReceiveEvenKill(msg, tipInfoList);
+                    //     break;
 
 
             }

--
Gitblit v1.8.0