MatchSlot
One slot of a match, as readMatchSlots reads it: a member’s, or one
kept by account for a member whose hold ended.
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
account |
readonly |
string |
- |
following |
readonly |
PlayerEntity | null |
The member this member’s camera follows while this member is eliminated, or null. |
index |
readonly |
number |
Its position among the match’s slots, from 0. |
isEliminated |
readonly |
boolean |
Whether the member is eliminated, by a character downed with no respawn coming or by setMatchEliminated, and watches the match. |
isHeld |
readonly |
boolean |
Whether the member’s connection dropped and the slot waits for the member. |
isReady |
readonly |
boolean |
Whether the member is ready, for a match with readyCheck. |
lapEndSeconds |
readonly |
readonly number[] |
The match’s seconds played at each of the member’s laps’ end, in order, counted from the race’s start, not each lap’s own time: the last is the member’s time over the laps, and one lap’s own time is the difference of two, the first lap’s the first entry. |
lapsCompleted |
readonly |
number |
The laps the member has completed, as a race’s standings list them, by the name MatchStatus gives the reading player’s own. |
lapsOwed |
readonly |
number |
The laps the member owes a lap line for crossing it backward, which the member’s next forward crossings pay before any counts: above 0, the member crossed the line backward and has not crossed back. |
name |
readonly |
string |
- |
place |
readonly |
number |
The member’s place, from 1, as the results’ place ranks: in a race, by laps and then by the last lap’s end, so it moves only as racers cross the line, not as they pass between crossings; by score in a match with no laps. Once the match ends, its result’s place. |
player |
readonly |
PlayerEntity | null |
Its member, or null for a slot kept by account. |
score |
readonly |
number |
- |
team |
readonly |
Team | null |
Its side’s team, or null in a co-op match or a free-for-all. |