Protected
Readonly
storageProtected
findFinds a match in a given group. The match must have the given number in a round of which the number in group is given.
Example: In group of id 1, give me the 4th match in the 3rd round.
ID of the group.
Number of the round in its parent group.
Number of the match in its parent round.
Protected
findFinds a match game based on its id
or based on the combination of its parent_id
and number
.
Values to change in a match game.
Optional
id?: IdID of the match game.
Optional
number?: numberThe number of the match game in its parent match.
Optional
opponent1?: null | ({ id?: Id | null | undefined; position?: number | undefined; forfeit?: boolean | undefined; score?: number | undefined; result?: Result | undefined; })First opponent of the match.
Optional
opponent2?: null | ({ id?: Id | null | undefined; position?: number | undefined; forfeit?: boolean | undefined; score?: number | undefined; result?: Result | undefined; })Second opponent of the match.
Optional
parent_ID of the parent match.
Optional
stage_ID of the parent stage.
Optional
status?: StatusStatus of the match.
Protected
getPrivate
getReturns an object with 1 match per group type. Only supports double elimination.
A list of matches.
A map of groups which were already fetched.
Protected
getGets the match(es) where the opponents of the current match will go just after.
The current match.
Location of the current match.
The parent stage.
The number of the current round.
Count of rounds.
Protected
getProtected
getGets the matches leading to the given match.
The current match.
Location of the current match.
The parent stage.
Number of the round.
Protected
getGets the positional information (number in group and total number of rounds in group) of a round based on its id.
ID of the round.
Protected
getProtected
getFinds a match in a given group. The match must have the given number in a round of which the number in group is given.
Example: In group of id 1, give me the 4th match in the 3rd round.
ID of the group.
Number of the round in its parent group.
Number of the match in its parent round.
Returns the matches following the given match.
If a participantId
is given:
ID of the target match.
Optional
participantId: numberOptional ID of the participant.
Returns the matches leading to the given match.
If a participantId
is given, the previous match from their point of view is returned.
ID of the target match.
Optional
participantId: numberOptional ID of the participant.
Static
Protected
getReturns the good seeding ordering based on the stage's type.
The type of the stage.
A reference to a Create instance.
Generated using TypeDoc
Creates an instance of a Storage getter.