| | |
| | | foreach (var heroID in heroIDs) |
| | | { |
| | | HeroConfig heroConfig = HeroConfig.Get(heroID); |
| | | if (heroConfig.PlayerCanUse == 0) |
| | | continue; |
| | | if (!heroCollectDict.ContainsKey(heroConfig.Quality)) |
| | | { |
| | | heroCollectDict[heroConfig.Quality] = new List<int>(); |
| | |
| | | heroBookRedpointList.Clear(); |
| | | foreach (var key in HeroConfig.GetKeys()) |
| | | { |
| | | var config = HeroConfig.Get(key); |
| | | if (config.PlayerCanUse == 0) |
| | | continue; |
| | | heroBookRedpointList.Add(new Redpoint(MainRedDot.HeroCardCollectRedpoint, MainRedDot.HeroCardCollectRedpoint * 10000000 + key)); |
| | | } |
| | | } |