C# Класс RiotSharp.TournamentEndpoint.Tournament

Class representing a tournament for the Tournament API.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Tournament ( ) : System

Описание методов

CreateTournamentCode() публичный Метод

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.
Результат string

CreateTournamentCodeAsync() публичный Метод

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.
Результат Task

CreateTournamentCodes() публичный Метод

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
Результат List

CreateTournamentCodesAsync() публичный Метод

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
Результат Task>