Show / Hide Table of Contents

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
Type Description
TournamentProvider

CreateProviderAsync(Region, String)

Declaration
Task<TournamentProvider> CreateProviderAsync(Region region, string url)
Parameters
Type Name Description
Region region
System.String url
Returns
Type Description
Task<><TournamentProvider>

CreateTournament(Int32, String)

Declaration
Tournament CreateTournament(int providerId, string name)
Parameters
Type Name Description
System.Int32 providerId
System.String name
Returns
Type Description
Tournament

CreateTournamentAsync(Int32, String)

Declaration
Task<Tournament> CreateTournamentAsync(int providerId, string name)
Parameters
Type Name Description
System.Int32 providerId
System.String name
Returns
Type Description
Task<><Tournament>

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
Type Name Description
System.Int32 tournamentId
System.Int32 teamSize
List<><System.Int64> allowedSummonerIds
TournamentSpectatorType spectatorType
TournamentPickType pickType
TournamentMapType mapType
System.String metadata
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
Type Name Description
System.Int32 tournamentId
System.Int32 teamSize
List<><System.Int64> allowedSummonerIds
TournamentSpectatorType spectatorType
TournamentPickType pickType
TournamentMapType mapType
System.String metadata
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
Type Name Description
System.Int32 tournamentId
System.Int32 teamSize
TournamentSpectatorType spectatorType
TournamentPickType pickType
TournamentMapType mapType
System.String metadata
System.Int32 count
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
Type Name Description
System.Int32 tournamentId
System.Int32 teamSize
TournamentSpectatorType spectatorType
TournamentPickType pickType
TournamentMapType mapType
System.String metadata
System.Int32 count
Returns
Type Description
Task<><List<><System.String>>

GetTournamentCodeDetails(String)

Declaration
TournamentCodeDetail GetTournamentCodeDetails(string tournamentCode)
Parameters
Type Name Description
System.String tournamentCode
Returns
Type Description
TournamentCodeDetail

GetTournamentCodeDetailsAsync(String)

Declaration
Task<TournamentCodeDetail> GetTournamentCodeDetailsAsync(string tournamentCode)
Parameters
Type Name Description
System.String tournamentCode
Returns
Type Description
Task<><TournamentCodeDetail>

GetTournamentLobbyEvents(String)

Declaration
List<TournamentLobbyEvent> GetTournamentLobbyEvents(string tournamentCode)
Parameters
Type Name Description
System.String tournamentCode
Returns
Type Description
List<><TournamentLobbyEvent>

GetTournamentLobbyEventsAsync(String)

Declaration
Task<List<TournamentLobbyEvent>> GetTournamentLobbyEventsAsync(string tournamentCode)
Parameters
Type Name Description
System.String tournamentCode
Returns
Type Description
Task<><List<><TournamentLobbyEvent>>

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
Type Description
MatchDetail

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
Type Description
Task<><MatchDetail>

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
Type Name Description
System.String tournamentCode
List<><System.Int64> allowedSummonerIds
System.Nullable<><TournamentSpectatorType> spectatorType
System.Nullable<><TournamentPickType> pickType
System.Nullable<><TournamentMapType> mapType
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
Type Name Description
System.String tournamentCode
List<><System.Int64> allowedSummonerIds
System.Nullable<><TournamentSpectatorType> spectatorType
System.Nullable<><TournamentPickType> pickType
System.Nullable<><TournamentMapType> mapType
Returns
Type Description
Task<><System.Boolean>
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX