Interface ITournamentRiotApi
Namespace:RiotSharp
Assembly:RiotSharp.dll
Syntax
public interface ITournamentRiotApi
Methods
CreateProvider(Region, String)
Declaration
TournamentProvider CreateProvider(Region region, string url)
Parameters
Type |
Name |
Description |
Region |
region |
|
System.String |
url |
|
Returns
CreateProviderAsync(Region, String)
Declaration
Task<TournamentProvider> CreateProviderAsync(Region region, string url)
Parameters
Type |
Name |
Description |
Region |
region |
|
System.String |
url |
|
Returns
CreateTournament(Int32, String)
Declaration
Tournament CreateTournament(int providerId, string name)
Parameters
Type |
Name |
Description |
System.Int32 |
providerId |
|
System.String |
name |
|
Returns
CreateTournamentAsync(Int32, String)
Declaration
Task<Tournament> CreateTournamentAsync(int providerId, string name)
Parameters
Type |
Name |
Description |
System.Int32 |
providerId |
|
System.String |
name |
|
Returns
CreateTournamentCode(Int32, Int32, List<Int64>, TournamentSpectatorType, TournamentPickType, TournamentMapType, String)
Declaration
string CreateTournamentCode(int tournamentId, int teamSize, List<long> allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata)
Parameters
Returns
Type |
Description |
System.String |
|
CreateTournamentCodeAsync(Int32, Int32, List<Int64>, TournamentSpectatorType, TournamentPickType, TournamentMapType, String)
Declaration
Task<string> CreateTournamentCodeAsync(int tournamentId, int teamSize, List<long> allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata)
Parameters
Returns
Type |
Description |
Task<><System.String> |
|
CreateTournamentCodes(Int32, Int32, TournamentSpectatorType, TournamentPickType, TournamentMapType, String, Int32)
Declaration
List<string> CreateTournamentCodes(int tournamentId, int teamSize, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata, int count = 1)
Parameters
Returns
Type |
Description |
List<><System.String> |
|
CreateTournamentCodesAsync(Int32, Int32, TournamentSpectatorType, TournamentPickType, TournamentMapType, String, Int32)
Declaration
Task<List<string>> CreateTournamentCodesAsync(int tournamentId, int teamSize, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata, int count = 1)
Parameters
Returns
Type |
Description |
Task<><List<><System.String>> |
|
GetTournamentCodeDetails(String)
Declaration
TournamentCodeDetail GetTournamentCodeDetails(string tournamentCode)
Parameters
Type |
Name |
Description |
System.String |
tournamentCode |
|
Returns
GetTournamentCodeDetailsAsync(String)
Declaration
Task<TournamentCodeDetail> GetTournamentCodeDetailsAsync(string tournamentCode)
Parameters
Type |
Name |
Description |
System.String |
tournamentCode |
|
Returns
GetTournamentLobbyEvents(String)
Declaration
List<TournamentLobbyEvent> GetTournamentLobbyEvents(string tournamentCode)
Parameters
Type |
Name |
Description |
System.String |
tournamentCode |
|
Returns
GetTournamentLobbyEventsAsync(String)
Declaration
Task<List<TournamentLobbyEvent>> GetTournamentLobbyEventsAsync(string tournamentCode)
Parameters
Type |
Name |
Description |
System.String |
tournamentCode |
|
Returns
GetTournamentMatch(Region, Int64, String, Boolean)
Declaration
MatchDetail GetTournamentMatch(Region region, long matchId, string tournamentCode, bool includeTimeline)
Parameters
Type |
Name |
Description |
Region |
region |
|
System.Int64 |
matchId |
|
System.String |
tournamentCode |
|
System.Boolean |
includeTimeline |
|
Returns
GetTournamentMatchAsync(Region, Int64, String, Boolean)
Declaration
Task<MatchDetail> GetTournamentMatchAsync(Region region, long matchId, string tournamentCode, bool includeTimeline)
Parameters
Type |
Name |
Description |
Region |
region |
|
System.Int64 |
matchId |
|
System.String |
tournamentCode |
|
System.Boolean |
includeTimeline |
|
Returns
GetTournamentMatchId(Region, String)
Declaration
long GetTournamentMatchId(Region region, string tournamentCode)
Parameters
Type |
Name |
Description |
Region |
region |
|
System.String |
tournamentCode |
|
Returns
Type |
Description |
System.Int64 |
|
GetTournamentMatchIdAsync(Region, String)
Declaration
Task<long> GetTournamentMatchIdAsync(Region region, string tournamentCode)
Parameters
Type |
Name |
Description |
Region |
region |
|
System.String |
tournamentCode |
|
Returns
Type |
Description |
Task<><System.Int64> |
|
UpdateTournamentCode(String, List<Int64>, Nullable<TournamentSpectatorType>, Nullable<TournamentPickType>, Nullable<TournamentMapType>)
Declaration
bool UpdateTournamentCode(string tournamentCode, List<long> allowedSummonerIds, TournamentSpectatorType? spectatorType, TournamentPickType? pickType, TournamentMapType? mapType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
UpdateTournamentCodeAsync(String, List<Int64>, Nullable<TournamentSpectatorType>, Nullable<TournamentPickType>, Nullable<TournamentMapType>)
Declaration
Task<bool> UpdateTournamentCodeAsync(string tournamentCode, List<long> allowedSummonerIds, TournamentSpectatorType? spectatorType, TournamentPickType? pickType, TournamentMapType? mapType)
Parameters
Returns
Type |
Description |
Task<><System.Boolean> |
|