From 0f1a1548a26c1812a6a20a0f7cc17a598132bad8 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 16 十二月 2025 16:35:39 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Message/RichNormalEvent.cs |   28 +++++++++-------------------
 1 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/Main/System/Message/RichNormalEvent.cs b/Main/System/Message/RichNormalEvent.cs
index d72dd01..d86ef89 100644
--- a/Main/System/Message/RichNormalEvent.cs
+++ b/Main/System/Message/RichNormalEvent.cs
@@ -96,25 +96,15 @@
             //     break;
             case RichTextEventEnum.OPENUI:
                 {
-                    // int id = 0;
-                    // if (int.TryParse(href.mSplits["openui"], out id))
-                    // {
-                    //     WindowJumpMgr.Instance.WindowJumpTo((JumpUIType)id);
-                    // }
-                    // else
-                    // {
-                    //     var list = href.mSplits["openui"].Split('_');
-                    //     int funcOrder = 0;
-                    //     if (list.Length != 1)
-                    //     {
-                    //         funcOrder = int.Parse(list[1]);
-                    //     }
-                    //     WindowJumpMgr.Instance.WindowJumpToEx(list[0], 1, 0, funcOrder);
-                    //     if (list.Length > 2)
-                    //     {
-                    //         ModelCenter.Instance.GetModel<RoleModel>().openUIMark = int.Parse(list[2]);
-                    //     }
-                    // }
+                    int id = 0;
+                    if (int.TryParse(href.mSplits["openui"], out id))
+                    {
+                        UIJumpManager.Instance.OpenWindow(id);
+                    }
+                    else
+                    {
+                        Debug.LogError("RichNormalEvent.cs: OPENUI 鍙傛暟閿欒");
+                    }
                 }
                 break;
             case RichTextEventEnum.OPENURL:

--
Gitblit v1.8.0