From f90bcf177217ad0e104bc811d576c1517b79758e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 09 一月 2026 11:04:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/Utility/UIHelper.cs | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/Main/Utility/UIHelper.cs b/Main/Utility/UIHelper.cs
index 3b2c1f3..8b6c868 100644
--- a/Main/Utility/UIHelper.cs
+++ b/Main/Utility/UIHelper.cs
@@ -817,6 +817,33 @@
}
+ //鍔熻兘鍝佽川鏂囧瓧棰滆壊锛屽摢浜涘姛鑳界敱缇庢湳鍐冲畾锛岀洰鍓嶇敤浜庡彜瀹�
+ public static Color GetFuncQualityColor(int quality)
+ {
+
+ switch (quality)
+ {
+ case 1:
+ // bbd5ff
+ return new Color32(187, 213, 255, 255);
+ case 2:
+ // e4bbfe
+ return new Color32(228, 187, 254, 255);
+ case 3:
+ // f7eba4
+ return new Color32(247, 235, 164, 255);
+ case 4:
+ // ffc096
+ return new Color32(255, 192, 150, 255);
+ case 5:
+ // fe9896
+ return new Color32(254, 152, 150, 255);
+ }
+ return Color.white;
+ }
+
+
+
//needName 鎸囧畼鑱�0鏄惁闇�瑕佸悕绉�
public static string GetRealmName(int realmLv, bool bright = true, bool needName = false)
--
Gitblit v1.8.0