C# Class RiotSharp.TournamentEndpoint.TournamentCodeDetail

Class representing the details of a tournament code.
Show file Open project: BenFradet/RiotSharp

Private Properties

Property Type Description
TournamentCodeDetail System

Public Methods

Method Description
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.

Private Methods

Method Description
TournamentCodeDetail ( ) : System

Method Details

Get() public static method

Returns the tournament code object associated with a tournament code string.
public static Get ( string tournamentCode ) : TournamentCodeDetail
tournamentCode string The tournament code.
return TournamentCodeDetail

GetAsync() public static method

Returns the tournament code object associated with a tournament code string asynchronously.
public static GetAsync ( string tournamentCode ) : Task
tournamentCode string The tournament code.
return Task

Update() public method

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.
return bool

UpdateAsync() public method

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.
return Task