From 303f5970d2bef26905c9d6d471cd13f41bc722a7 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 22 八月 2025 12:16:40 +0800 Subject: [PATCH] 155 子 【武将】招募系统 - 高级招募 --- Main/Utility/UIHelper.cs | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Main/Utility/UIHelper.cs b/Main/Utility/UIHelper.cs index 665b56e..fb10fc0 100644 --- a/Main/Utility/UIHelper.cs +++ b/Main/Utility/UIHelper.cs @@ -854,11 +854,11 @@ case TextColType.Pink: return StringUtility.Contact("<color=#", bright ? "f6408d" : "ff7c7c", ">", msg, "</color>"); case TextColType.Green: - return StringUtility.Contact("<color=#", bright ? "109d06" : "2ae337", ">", msg, "</color>"); + return StringUtility.Contact("<color=#", bright ? "248B12" : "2ae337", ">", msg, "</color>"); case TextColType.NavyBrown: return StringUtility.Contact("<color=#6e4c31>", msg, "</color>"); case TextColType.DarkGreen: - return StringUtility.Contact("<color=#109d06>", msg, "</color>"); + return StringUtility.Contact("<color=#248B12>", msg, "</color>"); case TextColType.Black: return StringUtility.Contact("<color=#000000>", msg, "</color>"); case TextColType.LightWhite: @@ -1083,6 +1083,16 @@ return 0; } + //璐у竵瀵瑰簲0418绫诲瀷 + public static Dictionary<int, PlayerDataType> moneyTypeToPlayerDataType = new Dictionary<int, PlayerDataType>() + { + {1, PlayerDataType.Gold}, + {2, PlayerDataType.GoldPaper}, + {3, PlayerDataType.Silver}, + {41, PlayerDataType.default26}, + {42, PlayerDataType.default33}, + + }; public static ulong GetMoneyCnt(int moneyType) { @@ -1232,6 +1242,7 @@ return 0; } + public static int GetAllVourcher() { return (int)GetMoneyCnt(98) + (int)GetMoneyCnt(99); -- Gitblit v1.8.0