Show / Hide Table of Contents

Class TournamentCodeDetail

Class representing the details of a tournament code.

Inheritance
System.Object
TournamentCodeDetail
Namespace:RiotSharp.TournamentEndpoint
Assembly:RiotSharp.dll
Syntax
public class TournamentCodeDetail : object

Properties

Code

The tournament code.

Declaration
public string Code { get; set; }
Property Value
Type Description
System.String

Id

The tournament code's ID.

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32

LobbyName

The lobby name for the tournament code game.

Declaration
public string LobbyName { get; set; }
Property Value
Type Description
System.String

Map

The game map for the tournament code game.

Declaration
public TournamentMapType Map { get; set; }
Property Value
Type Description
TournamentMapType

MetaData

The metadata for tournament code.

Declaration
public string MetaData { get; set; }
Property Value
Type Description
System.String

Participants

Set of summoner IDs.

Declaration
public HashSet<long> Participants { get; set; }
Property Value
Type Description
HashSet<><System.Int64>

Password

The password for the tournament code game.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

PickType

The pick mode for tournament code game.

Declaration
public TournamentPickType PickType { get; set; }
Property Value
Type Description
TournamentPickType

ProviderId

The provider's ID.

Declaration
public int ProviderId { get; set; }
Property Value
Type Description
System.Int32

Region

The tournament code's region.

Declaration
public Region Region { get; set; }
Property Value
Type Description
Region

SpectatorType

The spectator mode for the tournament code game.

Declaration
public TournamentSpectatorType SpectatorType { get; set; }
Property Value
Type Description
TournamentSpectatorType

TeamSize

The team size for the tournament code game.

Declaration
public int TeamSize { get; set; }
Property Value
Type Description
System.Int32

TournamentId

The tournament's ID.

Declaration
public int TournamentId { get; set; }
Property Value
Type Description
System.Int32

Methods

Get(String)

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

Declaration
public static TournamentCodeDetail Get(string tournamentCode)
Parameters
Type Name Description
System.String tournamentCode

The tournament code.

Returns
Type Description
TournamentCodeDetail

the tournament code object associated with a tournament code string.

GetAsync(String)

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

Declaration
public static Task<TournamentCodeDetail> GetAsync(string tournamentCode)
Parameters
Type Name Description
System.String tournamentCode

The tournament code.

Returns
Type Description
Task<><TournamentCodeDetail>

the tournament code object associated with a tournament code string.

Update(List<Int64>, Nullable<TournamentSpectatorType>, Nullable<TournamentPickType>, Nullable<TournamentMapType>)

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

Declaration
public bool Update(List<long> allowedSummonerIds, TournamentSpectatorType? spectatorType, TournamentPickType? pickType, TournamentMapType? mapType)
Parameters
Type Name Description
List<><System.Int64> allowedSummonerIds

Comma separated list of summoner Ids.

System.Nullable<><TournamentSpectatorType> spectatorType

The spectator type.

System.Nullable<><TournamentPickType> pickType

The pick type.

System.Nullable<><TournamentMapType> mapType

The map type.

Returns
Type Description
System.Boolean

UpdateAsync(List<Int64>, Nullable<TournamentSpectatorType>, Nullable<TournamentPickType>, Nullable<TournamentMapType>)

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

Declaration
public Task<bool> UpdateAsync(List<long> allowedSummonerIds, TournamentSpectatorType? spectatorType, TournamentPickType? pickType, TournamentMapType? mapType)
Parameters
Type Name Description
List<><System.Int64> allowedSummonerIds

Comma separated list of summoner Ids.

System.Nullable<><TournamentSpectatorType> spectatorType

The spectator type.

System.Nullable<><TournamentPickType> pickType

The pick type.

System.Nullable<><TournamentMapType> mapType

The map type.

Returns
Type Description
Task<><System.Boolean>
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX