Show / Hide Table of Contents

Class ChampionMasteryV4Endpoints

ChampionMasteryV4 endpoints. This class is automatically generated.

Official API Reference https://developer.riotgames.com/api-methods/#champion-mastery-v4

Inheritance
System.Object
Endpoints
ChampionMasteryV4Endpoints
Inherited Members
Endpoints.QUERY_PARAMS_EMPTY
Endpoints.RiotApi
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 ChampionMasteryV4Endpoints : Endpoints

Methods

| Improve this Doc View Source

GetAllChampionMasteries(Region, String, Nullable<CancellationToken>)

Get all champion mastery entries sorted by number of champion points descending,

Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getAllChampionMasteries

Declaration
public ChampionMastery[] GetAllChampionMasteries(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

Summoner ID associated with the player (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task.

Returns
Type Description
ChampionMastery[]
| Improve this Doc View Source

GetAllChampionMasteriesAsync(Region, String, Nullable<CancellationToken>)

Get all champion mastery entries sorted by number of champion points descending,

Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getAllChampionMasteries

Declaration
public Task<ChampionMastery[]> GetAllChampionMasteriesAsync(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

Summoner ID associated with the player (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task.

Returns
Type Description
System.Threading.Tasks.Task<ChampionMastery[]>
| Improve this Doc View Source

GetChampionMastery(Region, String, Int64, Nullable<CancellationToken>)

Get a champion mastery by player ID and champion ID.

Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMastery

Declaration
public ChampionMastery GetChampionMastery(Region region, string encryptedSummonerId, long championId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

Summoner ID associated with the player (required)

System.Int64 championId

Champion ID to retrieve Champion Mastery for (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task.

Returns
Type Description
ChampionMastery
| Improve this Doc View Source

GetChampionMasteryAsync(Region, String, Int64, Nullable<CancellationToken>)

Get a champion mastery by player ID and champion ID.

Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMastery

Declaration
public Task<ChampionMastery> GetChampionMasteryAsync(Region region, string encryptedSummonerId, long championId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

Summoner ID associated with the player (required)

System.Int64 championId

Champion ID to retrieve Champion Mastery for (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task.

Returns
Type Description
System.Threading.Tasks.Task<ChampionMastery>
| Improve this Doc View Source

GetChampionMasteryScore(Region, String, Nullable<CancellationToken>)

Get a player's total champion mastery score, which is the sum of individual champion mastery levels.

Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMasteryScore

Declaration
public int GetChampionMasteryScore(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

Summoner ID associated with the player (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task.

Returns
Type Description
System.Int32
| Improve this Doc View Source

GetChampionMasteryScoreAsync(Region, String, Nullable<CancellationToken>)

Get a player's total champion mastery score, which is the sum of individual champion mastery levels.

Official API Reference: https://developer.riotgames.com/api-methods/#champion-mastery-v4/GET_getChampionMasteryScore

Declaration
public Task<int> GetChampionMasteryScoreAsync(Region region, string encryptedSummonerId, CancellationToken? cancellationToken = default(CancellationToken? ))
Parameters
Type Name Description
Region region

Region to query.

System.String encryptedSummonerId

Summoner ID associated with the player (required)

System.Nullable<System.Threading.CancellationToken> cancellationToken

A cancellation token that can be used to cancel this task.

Returns
Type Description
System.Threading.Tasks.Task<System.Int32>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX