Class ChampionV3Endpoints
ChampionV3 endpoints. This class is automatically generated.
Official API Reference https://developer.riotgames.com/api-methods/#champion-v3
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class ChampionV3Endpoints : Endpoints
Methods
| Improve this Doc View SourceGetChampionInfo(Region, Nullable<CancellationToken>)
Returns champion rotations, including free-to-play and low-level free-to-play rotations (REST)
Official API Reference: https://developer.riotgames.com/api-methods/#champion-v3/GET_getChampionInfo
Declaration
public ChampionInfo GetChampionInfo(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
ChampionInfo |
GetChampionInfoAsync(Region, Nullable<CancellationToken>)
Returns champion rotations, including free-to-play and low-level free-to-play rotations (REST)
Official API Reference: https://developer.riotgames.com/api-methods/#champion-v3/GET_getChampionInfo
Declaration
public Task<ChampionInfo> GetChampionInfoAsync(Region region, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type | Name | Description |
---|---|---|
Region | region | Region to query. |
System.Nullable<System.Threading.CancellationToken> | cancellationToken | A cancellation token that can be used to cancel this task. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ChampionInfo> |