This document is about: QUANTUM 2
SWITCH TO

API-TournamentRound


Available in the Gaming Circle and Industries Circle
Circle

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.

C#

public class TournamentRound

Constructors

TournamentRound()

Creates an instance of tournament round.

C#

public TournamentRound()

Properties

GamePointDistribution

Determine point distribution for specific position for each game in this round.

C#

public List<TournamentRound.GamePositionPoints> GamePointDistribution
{
    get;
    set;
}

Id

Round id (starting from 1).

C#

public int Id
{
    get;
    set;
}

MatchPointDistribution

Determine point distribution for specific position for each match in this round.

C#

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).

C#

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.

C#

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).

C#

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)).

C#

public int WinScore
{
    get;
    set;
}
Back to top