Skip to content

Interface: MatchResult ​

Defined in: protocol.ts:242

What a room puts on its queue when it calls finishMatch.

Properties ​

PropertyTypeDescriptionDefined in
idstringUnique per finished match. Safe to use as a primary key: redeliveries carry the same id.protocol.ts:244
roomstring | nullThe room id, if the room knows it (it does when players came through the gateway).protocol.ts:246
endedAtnumberEpoch milliseconds.protocol.ts:248
playersstring[]Everyone who held a seat when the match ended.protocol.ts:250
resultRecord<string, unknown>Whatever the room passed to finishMatch.protocol.ts:252
replayKey?stringWhere the replay was stored in the room's R2 bucket, if it stored one.protocol.ts:254

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.