API-TournamentRound
Namespace: Gimmebreak.Backbone.Tournaments
Inheritance: Object → TournamentRound
Represents exactly one tournament round within a tournament phase. Each round holds a setting about round length and win conditions (E.g. best of three). If a tournament is single elimination bracket then round represents one level of bracket tree.
public class TournamentRound
Contents
Constructors
TournamentRound()
Creates an instance of tournament round.
public TournamentRound()
Properties
GamePointDistribution
Determine point distribution for specific position for each game in this round.
public List<TournamentRound.GamePositionPoints> GamePointDistribution
{
get;
set;
}
Id
Round id (starting from 1).
public int Id
{
get;
set;
}
MatchPointDistribution
Determine point distribution for specific position for each match in this round.
public List<TournamentRound.MatchPositionPoints> MatchPointDistribution
{
get;
set;
}
MaxGameCount
Maximum allowed games to be played in match (E.g. if we set this to 2 then we effectively created BO2, this would not work if we set WinScore to 1 in 1v1 scenario).
public int MaxGameCount
{
get;
set;
}
MaxLength
Maximulm length for this round, all games should end within this window. This should be greater than MinGameLength * MAXPOSSIBLEGAMECOUNT plus some margin.
public int MaxLength
{
get;
set;
}
MinGameLength
Minimum game length, all games should try to fit into this window (E.g. round is best of 3 (max 3 games) and minimum game length is 2 minutes then Max length should be at least 6 minutes to allow all games to be played if necessary).
public int MinGameLength
{
get;
set;
}
WinScore
Winning score required for match to be closed (E.g. if we give any points for game win then best of 3 would be represented by WinScore=2 (WinScore = how many times user places on scored position)).
public int WinScore
{
get;
set;
}