|
@@ -9,7 +9,10 @@ namespace GFGGame
|
|
|
private static Dictionary<int, ItemData> _dataDic = new Dictionary<int, ItemData>();
|
|
|
private static Dictionary<int, int> _itemExchangeDic = new Dictionary<int, int>();
|
|
|
delegate object MemberGetDelegate(ItemCfg p);
|
|
|
-
|
|
|
+ public static void Clear()
|
|
|
+ {
|
|
|
+ _itemExchangeDic.Clear();
|
|
|
+ }
|
|
|
public static void Add(int itemID, long itemNum)
|
|
|
{
|
|
|
ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(itemID);
|