hch
6 天以前 783c9e76bb8d82cd51605566fce46495a9f99442
0312 使用物品和货币的显示默认不转换数值缩写
1个文件已修改
4 ■■■■ 已修改文件
Main/Utility/UIHelper.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Utility/UIHelper.cs
@@ -1156,7 +1156,7 @@
    }
    //显示数量, 格式n/m, 足够绿色不足红色
    public static string ShowUseMoney(int moneyType, long useCnt, bool showLargeNum = true)
    public static string ShowUseMoney(int moneyType, long useCnt, bool showLargeNum = false)
    {
        long cnt = GetMoneyCnt(moneyType);
        if (showLargeNum)
@@ -1165,7 +1165,7 @@
            return AppendColor(useCnt <= cnt ? TextColType.Green : TextColType.Red, $"{cnt}/{useCnt}");
    }
    public static string ShowUseItem(PackType type, int itemId, long useCnt, bool showLargeNum = true)
    public static string ShowUseItem(PackType type, int itemId, long useCnt, bool showLargeNum = false)
    {
        long cnt = PackManager.Instance.GetItemCountByID(type, itemId);
        if (showLargeNum)