From 89343a7a0909e5244a3b69c4db1294de4536243b Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期一, 15 十二月 2025 18:15:22 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 新增仅适用武将解锁的头像和形象的红点移除规则
---
Main/System/Message/RichNormalEvent.cs | 68 +++++++++++++++++-----------------
1 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/Main/System/Message/RichNormalEvent.cs b/Main/System/Message/RichNormalEvent.cs
index 61d2046..d72dd01 100644
--- a/Main/System/Message/RichNormalEvent.cs
+++ b/Main/System/Message/RichNormalEvent.cs
@@ -94,35 +94,35 @@
// }
// }
// 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]);
- // }
- // }
- // }
- // break;
- // case RichTextEventEnum.OPENURL:
- // {
- // var url = href.mSplits["openurl"];
- // Application.OpenURL(url);
- // }
- // 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]);
+ // }
+ // }
+ }
+ break;
+ case RichTextEventEnum.OPENURL:
+ {
+ var url = href.mSplits["openurl"];
+ Application.OpenURL(url);
+ }
+ break;
// case RichTextEventEnum.TIP:
// {
// var _key = href.mSplits["tip"];
@@ -336,7 +336,7 @@
// {
// colorType = RichTextMgr.Inst.presentRichText.colorType == RichText.ColorType.Dark ? 0 : 1;
// }
- // var fightPoint = PlayerDatas.Instance.baseData.FightPoint;
+ // var fightPoint = PlayerDatas.Instance.baseData.FightPower;
// ulong targetValue = 0;
// var infoArray = dic["myfightpoint"].Split('_');
// if (infoArray.Length > 1)
@@ -360,7 +360,7 @@
// if (fightPoint < (ulong)targetValue)
// {
// var label = dic.ContainsKey("replacelabel1") ? dic["replacelabel1"] : string.Empty;
- // return UIHelper.AppendColor(TextColType.Red, StringUtility.Contact(label, fightPoint, "/", targetValue), colorType == 1);
+ // return UIHelper.AppendColor(TextColType.Red, StringUtility.Concat(label, fightPoint, "/", targetValue), colorType == 1);
// }
// else
// {
@@ -411,9 +411,9 @@
// if (property != 0)
// {
// var propertyConfig = PlayerPropertyConfig.Get(property);
- // label = StringUtility.Contact(propertyConfig.Name, "锛�");
+ // label = StringUtility.Concat(propertyConfig.Name, "锛�");
// }
- // return UIHelper.AppendColor(TextColType.Red, StringUtility.Contact(label, point, "/", targetValue), colorType == 1);
+ // return UIHelper.AppendColor(TextColType.Red, StringUtility.Concat(label, point, "/", targetValue), colorType == 1);
// }
// else
// {
@@ -454,7 +454,7 @@
// if (!satisfy)
// {
// var label = dic.ContainsKey("replacelabel1") ? dic["replacelabel1"] : string.Empty;
- // return UIHelper.AppendColor(TextColType.Red, StringUtility.Contact(label, point, "/", targetValue), colorType == 1);
+ // return UIHelper.AppendColor(TextColType.Red, StringUtility.Concat(label, point, "/", targetValue), colorType == 1);
// }
// else
// {
--
Gitblit v1.8.0