private static List <int> BuildRealDeckListForNewRun(HearthstoneImage image, IDungeonInfo runFromMemory) { var deckList = new List <int>(); var isValidRun = runFromMemory.SelectedDeck > 0 && IsValidRun(image); if (isValidRun) { deckList.Add(runFromMemory.StartingTreasure); deckList.AddRange(ActiveDeckReader.GetTemplateDeck(image, runFromMemory.SelectedDeck)); } return(deckList); }
public long?GetSelectedDeckId() => ActiveDeckReader.GetSelectedDeckId(this.image);
public IDeck GetWhizbangDeck(long whizbangDeckId) => ActiveDeckReader.ReadWhizbangDeck(this.image, whizbangDeckId);
public IReadOnlyList <IDeck> GetTemplateDecks() => ActiveDeckReader.ReadTemplateDecks(this.image);
public IDeck GetActiveDeck(long?selectedDeckId) => ActiveDeckReader.ReadActiveDeck(this.image, selectedDeckId);