public override void Cleanup() { base.Cleanup(); CurrentDemo = null; KillsData.Clear(); MaxPlayerKillCount = 0; }
private async Task LoadDatas() { _killService.Demo = CurrentDemo; KillsData = await _killService.GetPlayersKillsMatrix(); if (KillsData.Any()) { MaxPlayerKillCount = KillsData.Max(p => p.Count); } }
public override void Cleanup() { base.Cleanup(); KillsData.Clear(); MaxPlayerKillCount = 0; }