private string GetTeam(WvWTeam team) { switch (team) { case (WvWTeam.Blue): return("blue"); case (WvWTeam.Green): return("green"); case (WvWTeam.Red): return("red"); } return(string.Empty); }
public async Task <ICollection <GuildStats> > GetTopGuildKillsAsync(string matchId, WvWTeam team) { return(await RetrieveAsync <ICollection <GuildStats> >($"wvw/matches/stats/{matchId}/teams/{GetTeam(team)}/top/kills")); }
public async Task GetTopGuildKillsAsync(string matchId, WvWTeam team) { AssertCall <List <GuildStats> >(await repository.GetTopGuildKillsAsync(matchId, team)); }
public ICollection <GuildStats> GetTopGuildKills(string matchId, WvWTeam team) { return(Retrieve <ICollection <GuildStats> >($"wvw/matches/stats/{matchId}/teams/{GetTeam(team)}/top/kills")); }
public void GetTopGuildKills(string matchId, WvWTeam team) { AssertCall <List <GuildStats> >(repository.GetTopGuildKills(matchId, team)); }