From 51b0f6ed9f4e1d3bb6f8144470b46908c7699a96 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 11 五月 2026 16:20:37 +0800
Subject: [PATCH] Merge branch 'master' into h5version
---
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