| | |
| | | } |
| | | public List<int> GetKeyList() |
| | | { |
| | | return ModelConfig.GetKeys(); |
| | | List<int> allKeys = ModelConfig.GetKeys(); |
| | | List<int> validKeys = new List<int>(); |
| | | |
| | | for (int i = 0; i < allKeys.Count; i++) |
| | | { |
| | | int id = allKeys[i]; |
| | | var modelCfg = ModelConfig.Get(id); |
| | | |
| | | // 过滤未达到开服天数的武将和皮肤形象 |
| | | if (PhantasmPavilionManager.Instance.IsFaceOrModelVisible(modelCfg.UnlockWay, modelCfg.UnlockValue)) |
| | | { |
| | | validKeys.Add(id); |
| | | } |
| | | } |
| | | return validKeys; |
| | | } |
| | | public int GetResourceType(int id) |
| | | { |
| | |
| | | { |
| | | return ModelConfig.Get(id).GetWayString; |
| | | } |
| | | |
| | | public int GetSortIndex(int id) |
| | | { |
| | | return ModelConfig.Get(id).SortIndex; |
| | | } |
| | | } |