Class LorDeckV1Endpoints
LorDeckV1 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#lor-deck-v1
Inherited Members
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class LorDeckV1Endpoints : Endpoints
Methods
| Improve this Doc View SourceCreateDeck(RegionalRoute, NewDeck, Nullable<CancellationToken>)
Create a new deck for the calling user. Official API Reference: https://developer.riotgames.com/api-methods/#lor-deck-v1/POST_createDeck
Declaration
public string CreateDeck(RegionalRoute route, NewDeck body, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
NewDeck | body | |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.String |
CreateDeckAsync(RegionalRoute, NewDeck, Nullable<CancellationToken>)
Create a new deck for the calling user. Official API Reference: https://developer.riotgames.com/api-methods/#lor-deck-v1/POST_createDeck
Declaration
public Task<string> CreateDeckAsync(RegionalRoute route, NewDeck body, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
NewDeck | body | |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
GetDecks(RegionalRoute, Nullable<CancellationToken>)
Get a list of the calling user's decks. Official API Reference: https://developer.riotgames.com/api-methods/#lor-deck-v1/GET_getDecks
Declaration
public Deck[] GetDecks(RegionalRoute route, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
Deck[] |
GetDecksAsync(RegionalRoute, Nullable<CancellationToken>)
Get a list of the calling user's decks. Official API Reference: https://developer.riotgames.com/api-methods/#lor-deck-v1/GET_getDecks
Declaration
public Task<Deck[]> GetDecksAsync(RegionalRoute route, CancellationToken? cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
RegionalRoute | route | Route to query. Corresponds to a Riot API subdomain for a region or platform. (required) |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Deck[]> |