From 04ffe31b6a2b2fbcfecc83abb44a8aa233f2e53f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 02 二月 2026 18:45:57 +0800
Subject: [PATCH] 54 【淘金】切后台淘金完成 时间显示负数

---
 Main/System/Message/RichTableEvent.cs |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/Main/System/Message/RichTableEvent.cs b/Main/System/Message/RichTableEvent.cs
index ed93f1d..3d90848 100644
--- a/Main/System/Message/RichTableEvent.cs
+++ b/Main/System/Message/RichTableEvent.cs
@@ -69,7 +69,7 @@
                                             var itemName = cfg.ItemName;
                                             if (_dict.ContainsKey("chatsend"))
                                             {
-                                                itemName = StringUtility.Contact("[", itemName, "]");
+                                                itemName = StringUtility.Concat("[", itemName, "]");
                                             }
                                             if (_dict.ContainsKey("count"))
                                             {
@@ -77,7 +77,7 @@
                                                 int.TryParse(_dict["count"], out count);
                                                 if (count > 0)
                                                 {
-                                                    itemName = StringUtility.Contact(itemName, "x", count);
+                                                    itemName = StringUtility.Concat(itemName, "x", count.ToString());
                                                 }
                                             }
                                             var suitLabel = string.Empty;
@@ -91,10 +91,10 @@
                                                 }
                                                 // if (ItemLogicUtility.Instance.IsSuitEquip(id))
                                                 // {
-                                                //     suitLabel = StringUtility.Contact("<Suitname=", UIHelper.GetEquipSuitName(id, colorType == 1), "/>|");
+                                                //     suitLabel = StringUtility.Concat("<Suitname=", UIHelper.GetEquipSuitName(id, colorType == 1), "/>|");
                                                 // }
                                             }
-                                            return StringUtility.Contact(suitLabel, AppendColor(itemName, _itemColor, _dict));
+                                            return StringUtility.Concat(suitLabel, AppendColor(itemName, _itemColor, _dict));
                                         }
                                         else
                                         {
@@ -111,7 +111,20 @@
                                         NPCConfig cfg = NPCConfig.Get(id);
                                         if (cfg != null)
                                         {
-                                            return cfg.NPCName;
+                                            return  cfg.NPCName;
+                                        }
+                                    }
+                                }
+                                break;
+                            case "hero":
+                                {
+                                    int id = 0;
+                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out id))
+                                    {
+                                        HeroConfig cfg = HeroConfig.Get(id);
+                                        if (cfg != null)
+                                        {
+                                            return UIHelper.AppendColor(UIHelper.GetUIColorByFunc(cfg.Quality), cfg.Name) ;
                                         }
                                     }
                                 }
@@ -274,7 +287,7 @@
                                         var config = ItemConfig.Get(_id);
                                         if (config != null)
                                         {
-                                            return StringUtility.Contact(GetItemColorName(config.ItemColor), AppendColor(config.ItemName, config.ItemColor, _dict));
+                                            return StringUtility.Concat(GetItemColorName(config.ItemColor), AppendColor(config.ItemName, config.ItemColor, _dict));
                                         }
                                     }
                                 }

--
Gitblit v1.8.0