yyl
2 天以前 973edc44a04dceb8b48a32ca912e6167f86189d4
Main/System/KnapSack/Logic/ItemLogicUtility.cs
@@ -270,7 +270,7 @@
    /// <param name="needCount 需要数量"></param>
    /// <param name="needTips">0 不响应 1 弹提示 2 弹获取途径tips</param>
    /// <returns></returns>
    public static bool CheckItemCount(PackType packType, int itemId, ulong needCount, int needTips = 0)
    public static bool CheckItemCount(PackType packType, int itemId, long needCount, int needTips = 0)
    {
        if (needCount <= 0)
        {
@@ -296,14 +296,14 @@
        return isEnough;
    }
    public static bool CheckCurrencyCount(int moneyType, ulong needCount, bool needTips = false)
    public static bool CheckCurrencyCount(int moneyType, long needCount, bool needTips = false)
    {
        if (needCount <= 0)
        {
            return true;
        }
        ulong haveCount = UIHelper.GetMoneyCnt(moneyType);
        long haveCount = UIHelper.GetMoneyCnt(moneyType);
        bool isEnough = haveCount >= needCount;
@@ -895,7 +895,7 @@
    #endregion
    //设置玩家货币显示
    public string OnChangeCoinsUnit(ulong value)
    public string OnChangeCoinsUnit(long value)
    {
        return UIHelper.ReplaceLargeNum(value);
    }