| | |
| | | |
| | | public class CommonFunc |
| | | { |
| | | public static Dictionary<int, ulong> AddDict(Dictionary<int, ulong> dic1, Dictionary<int, ulong> dic2) |
| | | public static Dictionary<int, long> AddDict(Dictionary<int, long> dic1, Dictionary<int, long> dic2) |
| | | { |
| | | var resultDic = new Dictionary<int, ulong>(dic1); |
| | | var resultDic = new Dictionary<int, long>(dic1); |
| | | foreach (var data in dic2) |
| | | { |
| | | if (resultDic.ContainsKey(data.Key)) |
| | |
| | | |
| | | |
| | | |
| | | public static List<Item> ChangeToItemList(Dictionary<int, ulong> dict) |
| | | public static List<Item> ChangeToItemList(Dictionary<int, long> dict) |
| | | { |
| | | List<Item> itemlist = new List<Item>(); |
| | | if (dict == null) |