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

---
 Main/System/Message/RichTableEvent.cs |   72 +++++++++++++++++++++++++++---------
 1 files changed, 54 insertions(+), 18 deletions(-)

diff --git a/Main/System/Message/RichTableEvent.cs b/Main/System/Message/RichTableEvent.cs
index 31e20ae..ad823cb 100644
--- a/Main/System/Message/RichTableEvent.cs
+++ b/Main/System/Message/RichTableEvent.cs
@@ -28,7 +28,7 @@
         return false;
     }
 
-    
+
     public override string GetDisplay(RichTextEventEnum type, Dictionary<string, string> _dict)
     {
         switch (type)
@@ -111,7 +111,7 @@
                                         NPCConfig cfg = NPCConfig.Get(id);
                                         if (cfg != null)
                                         {
-                                            return cfg.charName;
+                                            return cfg.NPCName;
                                         }
                                     }
                                 }
@@ -137,7 +137,7 @@
                                     //         }
                                     //     }
                                     return "map";
-                                 }
+                                }
                                 break;
                             case "skill":
                                 {
@@ -224,19 +224,19 @@
                                     // }
                                 }
                                 break;
-                            case "success":
-                                {
-                                    var _id = 0;
-                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
-                                    {
-                                        var _cfg = SuccessConfig.Get(_id);
-                                        if (_cfg != null)
-                                        {
-                                            return _cfg.Describe;
-                                        }
-                                    }
-                                }
-                                break;
+                            // case "success":
+                            //     {
+                            //         var _id = 0;
+                            //         if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
+                            //         {
+                            //             var _cfg = SuccessConfig.Get(_id);
+                            //             if (_cfg != null)
+                            //             {
+                            //                 return _cfg.Describe;
+                            //             }
+                            //         }
+                            //     }
+                            //     break;
 
                             case "treasureprivilege":
                                 {
@@ -252,7 +252,7 @@
                                     return "treasureprivilege";
                                 }
                                 break;
-                            
+
                             // case "skytowerfloor":
                             //     {
                             //         var _id = 0;
@@ -300,7 +300,43 @@
                                     var _id = 0;
                                     if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
                                     {
-                                        return UIHelper.AppendColor(TextColType.Green, DienstgradConfig.Get(_id).Name, true);
+                                        return UIHelper.AppendColor(TextColType.Green, TitleConfig.Get(_id).Name, true);
+                                    }
+                                }
+                                break;
+                            case "face":
+                                {
+                                    var _id = 0;
+                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
+                                    {
+                                        return UIHelper.AppendColor(TextColType.Green, PlayerFaceConfig.Get(_id).Name, true);
+                                    }
+                                }
+                                break;
+                            case "facepic":
+                                {
+                                    var _id = 0;
+                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
+                                    {
+                                        return UIHelper.AppendColor(TextColType.Green, PlayerFacePicConfig.Get(_id).Name, true);
+                                    }
+                                }
+                                break;
+                            case "chatbox":
+                                {
+                                    var _id = 0;
+                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
+                                    {
+                                        return UIHelper.AppendColor(TextColType.Green, ChatBubbleBoxConfig.Get(_id).Name, true);
+                                    }
+                                }
+                                break;
+                            case "model":
+                                {
+                                    var _id = 0;
+                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
+                                    {
+                                        return UIHelper.AppendColor(TextColType.Green, ModelConfig.Get(_id).Name, true);
                                     }
                                 }
                                 break;

--
Gitblit v1.8.0