From cca7237473568c98afee322b15c89697adce9a00 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 21 十一月 2025 19:09:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/Message/RichTableEvent.cs | 9 +++++++++
Main/System/Attribute/TotalAttributeWin.cs | 2 --
Main/Main.cs | 1 +
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Main/Main.cs b/Main/Main.cs
index ac56272..6270a62 100644
--- a/Main/Main.cs
+++ b/Main/Main.cs
@@ -4,6 +4,7 @@
using UnityEngine;
using Cysharp.Threading;
using Cysharp.Threading.Tasks;
+using System.IO;
/// <summary>
/// Main绫伙紝浣滀负鐑洿鏂扮▼搴忛泦鐨勫叆鍙g偣
diff --git a/Main/System/Attribute/TotalAttributeWin.cs b/Main/System/Attribute/TotalAttributeWin.cs
index e9e8052..76146e2 100644
--- a/Main/System/Attribute/TotalAttributeWin.cs
+++ b/Main/System/Attribute/TotalAttributeWin.cs
@@ -99,8 +99,6 @@
protected override void OnPreOpen()
{
- if (AttributeManager.Instance.totalAttrDict.IsNullOrEmpty())
- return;
var dict = AttributeManager.Instance.totalAttrDict;
foreach (var kv in attrBtns)
{
diff --git a/Main/System/Message/RichTableEvent.cs b/Main/System/Message/RichTableEvent.cs
index ad823cb..ed93f1d 100644
--- a/Main/System/Message/RichTableEvent.cs
+++ b/Main/System/Message/RichTableEvent.cs
@@ -340,6 +340,15 @@
}
}
break;
+ case "horseskin":
+ {
+ var _id = 0;
+ if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out _id))
+ {
+ return UIHelper.AppendColor(TextColType.Green, HorseSkinConfig.Get(_id).Name, true);
+ }
+ }
+ break;
case "orderInfo":
{
if (_dict.ContainsKey("id"))
--
Gitblit v1.8.0