C# 클래스 RiotSharp.TournamentEndpoint.Tournament

Class representing a tournament for the Tournament API.
파일 보기 프로젝트 열기: BenFradet/RiotSharp 1 사용 예제들

공개 메소드들

메소드 설명
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>