| | |
| | | List<int> eightFurnacesAchievements = new List<int>();
|
| | | List<int> m_CacheGotAchievements = new List<int>();
|
| | | Dictionary<int, int> treasureStageShowDict = new Dictionary<int, int>();
|
| | | List<int> treasureUnOpens = new List<int>();//版本未开放法宝
|
| | |
|
| | | public Dictionary<int, int> fairyTreasureGetDict { get; private set; }
|
| | |
|
| | |
| | | return eightFurnacesAchievements;
|
| | | }
|
| | |
|
| | | public bool IsVersionUnOpenTreasure(int _id)
|
| | | {
|
| | | return treasureUnOpens.Contains(_id);
|
| | | }
|
| | |
|
| | | private void ParseConfigs()
|
| | | {
|
| | | var treasureConfigs = Config.Instance.GetAllValues<TreasureConfig>();
|
| | |
| | | treasureBackPercent = float.Parse(funcConfig.Numerical2);
|
| | | funcConfig = Config.Instance.Get<FuncConfigConfig>("TreasureExitLimit");
|
| | | treasureExitLvLimit = int.Parse(funcConfig.Numerical1);
|
| | |
|
| | | funcConfig = Config.Instance.Get<FuncConfigConfig>("TreasureNoOpen");
|
| | | treasureUnOpens.AddRange(ConfigParse.GetMultipleStr<int>(funcConfig.Numerical1));
|
| | | }
|
| | |
|
| | | const string pattern = "\\\"[0-9]\\\":\\[[0-9|,]*\\]";
|