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 | 40 +++++++++++++++-------------------------
1 files changed, 15 insertions(+), 25 deletions(-)
diff --git a/Main/System/Message/RichNormalEvent.cs b/Main/System/Message/RichNormalEvent.cs
index 68499c9..d86ef89 100644
--- a/Main/System/Message/RichNormalEvent.cs
+++ b/Main/System/Message/RichNormalEvent.cs
@@ -96,33 +96,23 @@
// 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:
- // {
- // var url = href.mSplits["openurl"];
- // Application.OpenURL(url);
- // }
- // break;
+ case RichTextEventEnum.OPENURL:
+ {
+ var url = href.mSplits["openurl"];
+ Application.OpenURL(url);
+ }
+ break;
// case RichTextEventEnum.TIP:
// {
// var _key = href.mSplits["tip"];
--
Gitblit v1.8.0