Show / Hide Table of Contents

Class LorDeckV1Endpoints

LorDeckV1 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#lor-deck-v1

Inheritance
System.Object
Endpoints
LorDeckV1Endpoints
Inherited Members
Endpoints.base
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Camille.RiotGames
Assembly: Camille.RiotGames.dll
Syntax
public class LorDeckV1Endpoints : Endpoints

Methods

| Improve this Doc View Source

CreateDeck(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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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[]
| Improve this Doc View Source

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[]>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX