A type to associate the players. Can be a string or an object.
Adds a player (or team) to the match. A match can have multiple players (unlike a set that has two).
The information about a player
A number to be used as homePlayerId
or awayPlayerId
Adds a played set to the game.
The id of the home player (must be associated with this match)
The id of the away player (must be associated with this match)
The state of the set
An number to identify the added set.
Retrieves an previously added player.
The id of the player when it was added to the match.
Retrieves all previously added players.
Retrieves an previously added set.
The id of a set when it was added to the match
Retrieves all the sets that were previously added to the match.
Generated using TypeDoc
The match
The match is often an tournament or a competition in table tennis. It should not be confused with a set or game.
This type is intended to be (re-)created whenever data needs to be updated. It should not be used as a way of storing match data.