Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

MatchResult

One member’s result, as a match froze it at its end.

Property Modifier Type Description
account readonly string -
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. A member seated after the start counts from the start too.
lapsCompleted readonly number The laps the member completed.
name readonly string -
outcome readonly MatchOutcome -
place readonly number The member’s place, from 1. In a race, a match with laps or one whose members hold laps: more laps first and, between equal laps, the earlier last lap’s end. In a match without, the higher score. A free-for-all’s winner places first whatever ended it. Equal results share a place, and the next skips past them, as 1, 2, 2, 4. results lists them in this order.
player readonly PlayerEntity | null The member’s player, or null where the member has gone.
score readonly number -
team readonly Team | null The member’s side, or null in a co-op match or a free-for-all.