| | |
| | | |
| | | public static Dictionary<int, List<int>> DropItemEffectMapID { get; private set; } |
| | | public static Dictionary<int, List<int>> itemPutInPackDict { get; private set; } |
| | | public static Dictionary<int, int> itemMoneyCountDict { get; private set; } //背包中用于展示货币数量的物品 |
| | | public static List<int> RebornAutoFightMapID { get; private set; } |
| | | |
| | | public static string teamWorldCall; |
| | |
| | | // checkShowSwitchAccount.Add(item.ToString()); |
| | | // } |
| | | |
| | | // var putInItemPack = FuncConfigConfig.Get("PutInItemPack"); |
| | | // LitJson.JsonData itemPutInData = LitJson.JsonMapper.ToObject(putInItemPack.Numerical1); |
| | | // itemPutInPackDict = new Dictionary<int, List<int>>(); |
| | | // foreach (var _key in itemPutInData.Keys) |
| | | // { |
| | | // var itemTypeData = itemPutInData[_key]; |
| | | // int packType = int.Parse(_key); |
| | | // List<int> itemTypes = new List<int>(); |
| | | // itemPutInPackDict.Add(packType, itemTypes); |
| | | // if (itemTypeData.IsArray) |
| | | // { |
| | | // for (i = 0; i < itemTypeData.Count; i++) |
| | | // { |
| | | // int itemType = int.Parse(itemTypeData[i].ToString()); |
| | | // itemTypes.Add(itemType); |
| | | // } |
| | | // } |
| | | // } |
| | | var putInItemPack = FuncConfigConfig.Get("PutInItemPack"); |
| | | LitJson.JsonData itemPutInData = LitJson.JsonMapper.ToObject(putInItemPack.Numerical1); |
| | | itemPutInPackDict = new Dictionary<int, List<int>>(); |
| | | foreach (var _key in itemPutInData.Keys) |
| | | { |
| | | var itemTypeData = itemPutInData[_key]; |
| | | int packType = int.Parse(_key); |
| | | List<int> itemTypes = new List<int>(); |
| | | itemPutInPackDict.Add(packType, itemTypes); |
| | | if (itemTypeData.IsArray) |
| | | { |
| | | for (int i = 0; i < itemTypeData.Count; i++) |
| | | { |
| | | int itemType = int.Parse(itemTypeData[i].ToString()); |
| | | itemTypes.Add(itemType); |
| | | } |
| | | } |
| | | } |
| | | |
| | | itemMoneyCountDict = ConfigParse.ParseIntDict(putInItemPack.Numerical2); |
| | | |
| | | // //拾取贵重物品 |
| | | // FuncConfigConfig importantItemType = FuncConfigConfig.Get("AutoBuyDrug"); |