C# Class RiotSharp.TournamentEndpoint.Tournament

Class representing a tournament for the Tournament API.
Afficher le fichier Open project: BenFradet/RiotSharp Class Usage Examples

Méthodes publiques

Méthode Description
CreateTournamentCode ( int teamSize, List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata ) : string

Create a tournament code for the tournament.

CreateTournamentCodeAsync ( int teamSize, List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata ) : Task

Create a tournament code for the tournament asynchronously.

CreateTournamentCodes ( int teamSize, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata, int count = 1 ) : List

Create multiple tournament codes for the tournament.

CreateTournamentCodesAsync ( int teamSize, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata, int count = 1 ) : Task>

Create multiple tournament codes for the tournament asynchronously.

Private Methods

Méthode Description
Tournament ( ) : System

Method Details

CreateTournamentCode() public méthode

Create a tournament code for the tournament.
public CreateTournamentCode ( int teamSize, List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata ) : string
teamSize int The team size for the tournament code game.
allowedSummonerIds List participants
spectatorType TournamentSpectatorType The spectator mode for the tournament code game.
pickType TournamentPickType The pick mode for tournament code game.
mapType TournamentMapType The game map for the tournament code game
metadata string The metadata for tournament code.
Résultat string

CreateTournamentCodeAsync() public méthode

Create a tournament code for the tournament asynchronously.
public CreateTournamentCodeAsync ( int teamSize, List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata ) : Task
teamSize int The team size for the tournament code game.
allowedSummonerIds List participants
spectatorType TournamentSpectatorType The spectator mode for the tournament code game.
pickType TournamentPickType The pick mode for tournament code game.
mapType TournamentMapType The game map for the tournament code game
metadata string The metadata for tournament code.
Résultat Task

CreateTournamentCodes() public méthode

Create multiple tournament codes for the tournament.
public CreateTournamentCodes ( int teamSize, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata, int count = 1 ) : List
teamSize int The team size for the tournament code game.
spectatorType TournamentSpectatorType The spectator mode for the tournament code game.
pickType TournamentPickType The pick mode for tournament code game.
mapType TournamentMapType The game map for the tournament code game
metadata string The metadata for tournament code.
count int The number of codes to be created
Résultat List

CreateTournamentCodesAsync() public méthode

Create multiple tournament codes for the tournament asynchronously.
public CreateTournamentCodesAsync ( int teamSize, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType, string metadata, int count = 1 ) : Task>
teamSize int The team size for the tournament code game.
spectatorType TournamentSpectatorType The spectator mode for the tournament code game.
pickType TournamentPickType The pick mode for tournament code game.
mapType TournamentMapType The game map for the tournament code game
metadata string The metadata for tournament code.
count int The number of codes to be created
Résultat Task>