Example #1
0
        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);
        }
Example #2
0
 public async Task <ICollection <GuildStats> > GetTopGuildKillsAsync(string matchId, WvWTeam team)
 {
     return(await RetrieveAsync <ICollection <GuildStats> >($"wvw/matches/stats/{matchId}/teams/{GetTeam(team)}/top/kills"));
 }
Example #3
0
 public async Task GetTopGuildKillsAsync(string matchId, WvWTeam team)
 {
     AssertCall <List <GuildStats> >(await repository.GetTopGuildKillsAsync(matchId, team));
 }
Example #4
0
 public ICollection <GuildStats> GetTopGuildKills(string matchId, WvWTeam team)
 {
     return(Retrieve <ICollection <GuildStats> >($"wvw/matches/stats/{matchId}/teams/{GetTeam(team)}/top/kills"));
 }
Example #5
0
 public void GetTopGuildKills(string matchId, WvWTeam team)
 {
     AssertCall <List <GuildStats> >(repository.GetTopGuildKills(matchId, team));
 }