Exemple #1
0
 public Task <LolChampionsCollectionsChampionMinimal[]> GetOwnedChampionsMinimal()
 => Client.MakeRequestAsync <LolChampionsCollectionsChampionMinimal[]>("/lol-champions/v1/owned-champions-minimal", Method.GET);
Exemple #2
0
 public Task Quit()
 => Client.MakeRequestAsync("/process-control/v1/process/quit", Method.POST);
Exemple #3
0
 public Task <LolItemSetsItemSets> GetItemSets(int summonerId)
 => Client.MakeRequestAsync <LolItemSetsItemSets>($"/lol-item-sets/v1/item-sets/{summonerId}/sets", Method.GET);
Exemple #4
0
 public Task <LolGameQueuesQueue[]> GetQueues()
 => LeagueClient.Cache(
     () => Client.MakeRequestAsync <LolGameQueuesQueue[]>("/lol-game-queues/v1/queues", Method.GET));
Exemple #5
0
 /// <summary>
 /// Returns the current runes page.
 /// </summary>
 public Task <LolPerksPerkPageResource> GetCurrentPageAsync()
 => Client.MakeRequestAsync <LolPerksPerkPageResource>("/lol-perks/v1/currentpage", Method.GET);
Exemple #6
0
 public Task <LolChatFriendResource> GetFriendById(int id)
 => Client.MakeRequestAsync <LolChatFriendResource>($"/lol-chat/v1/friends/{id}", Method.GET);
Exemple #7
0
 public Task <LolMatchmakingMatchmakingReadyCheckResource> GetReadyCheck()
 => Client.MakeRequestAsync <LolMatchmakingMatchmakingReadyCheckResource>(ReadyCheckEndpoint, Method.GET);
Exemple #8
0
 public Task <LolSummonerSummoner> GetCurrentSummoner()
 => Client.MakeRequestAsync <LolSummonerSummoner>("/lol-summoner/v1/current-summoner", Method.GET);
Exemple #9
0
 public Task DeleteSessionAsync()
 => Client.MakeRequestAsync(Endpoint, Method.DELETE);
Exemple #10
0
 public Task KillAndRestartUXAsync()
 => Client.MakeRequestAsync("/riotclient/kill-and-restart-ux", Method.POST);
Exemple #11
0
 /// <summary>
 /// Adds a bot to a custom game lobby.
 /// </summary>
 public Task PostCustomBotAsync(LolLobbyLobbyBotParams parameters)
 => Client.MakeRequestAsync("/lol-lobby/v1/lobby/custom/bots", Method.POST, parameters);
Exemple #12
0
 public Task <LolMapsMaps[]> GetMaps()
 => LeagueClient.Cache(() => Client.MakeRequestAsync <LolMapsMaps[]>("/lol-maps/v2/maps", Method.GET));
Exemple #13
0
 public Task <LolChampSelectChampSelectSession> GetSessionAsync()
 => Client.MakeRequestAsync <LolChampSelectChampSelectSession>(Endpoint, Method.GET);