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

Class representing the details of a tournament code.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
TournamentCodeDetail System

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

Метод Описание
Get ( string tournamentCode ) : TournamentCodeDetail

Returns the tournament code object associated with a tournament code string.

GetAsync ( string tournamentCode ) : Task

Returns the tournament code object associated with a tournament code string asynchronously.

Update ( List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType ) : bool

Update the pick type, map, spectator type, or allowed summoners for a code.

UpdateAsync ( List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType ) : Task

Update the pick type, map, spectator type, or allowed summoners for a code asynchronously.

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

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

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

Get() публичный статический Метод

Returns the tournament code object associated with a tournament code string.
public static Get ( string tournamentCode ) : TournamentCodeDetail
tournamentCode string The tournament code.
Результат TournamentCodeDetail

GetAsync() публичный статический Метод

Returns the tournament code object associated with a tournament code string asynchronously.
public static GetAsync ( string tournamentCode ) : Task
tournamentCode string The tournament code.
Результат Task

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

Update the pick type, map, spectator type, or allowed summoners for a code.
public Update ( List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType ) : bool
allowedSummonerIds List Comma separated list of summoner Ids.
spectatorType TournamentSpectatorType The spectator type.
pickType TournamentPickType The pick type.
mapType TournamentMapType The map type.
Результат bool

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

Update the pick type, map, spectator type, or allowed summoners for a code asynchronously.
public UpdateAsync ( List allowedSummonerIds, TournamentSpectatorType spectatorType, TournamentPickType pickType, TournamentMapType mapType ) : Task
allowedSummonerIds List Comma separated list of summoner Ids.
spectatorType TournamentSpectatorType The spectator type.
pickType TournamentPickType The pick type.
mapType TournamentMapType The map type.
Результат Task