private static void endArenaRun(ArenaRun run) { if (run.IsArenaDeck && run.IsArenaRunCompleted) { string stats = run.StatClassStringFormatted; updateArenaRunsFile(stats); } }
public static void GameWon() { if (checkActiveDeck()) { ArenaRun _run = new ArenaRun(DeckList.Instance.ActiveDeck, GameResult.Win); ArenaStats _currentStats = new ArenaStats(_run.Class); Task.Run(() => HelperModule.GameWon(_run, _currentStats)); } }
public static void GameStart(ArenaRun run, ArenaStats currentStats) { updateActiveDeck(run.StatString); //endArenaRun(run); updateAdvancedStatsFiles(currentStats); }