From 973edc44a04dceb8b48a32ca912e6167f86189d4 Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期一, 25 八月 2025 17:38:02 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts --- Main/System/Recharge/RechargeManager.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Main/System/Recharge/RechargeManager.cs b/Main/System/Recharge/RechargeManager.cs index e15f1b3..603b5d9 100644 --- a/Main/System/Recharge/RechargeManager.cs +++ b/Main/System/Recharge/RechargeManager.cs @@ -204,7 +204,7 @@ m_RechargeGainItemDict.Add(configs[i].CTGID, _itemList); for (int k = 0; k < _itemArray.Length; k++) { - Item _item = new Item(_itemArray[k][0], (ulong)_itemArray[k][1]); + Item _item = new Item(_itemArray[k][0], _itemArray[k][1]); _itemList.Add(_item); } } @@ -262,7 +262,7 @@ for (int i = 0; i < _itemJson[jobstr].Count; i++) { m_FirstChargeItemDict[day][job].Add(new Item(int.Parse(_itemJson[jobstr][i][0].ToString()), - ulong.Parse(_itemJson[jobstr][i][1].ToString()))); + long.Parse(_itemJson[jobstr][i][1].ToString()))); } } @@ -274,7 +274,7 @@ var _itemCommon = JsonMapper.ToObject<int[][]>(config.CommItemList); for (int i = 0; i < _itemCommon.Length; i++) { - m_FirstChargeCommonItemDict[day].Add(new Item(_itemCommon[i][0], (ulong)_itemCommon[i][1])); + m_FirstChargeCommonItemDict[day].Add(new Item(_itemCommon[i][0], _itemCommon[i][1])); } -- Gitblit v1.8.0