Interface: MatchResult
Defined in: protocol.ts:242
What a room puts on its queue when it calls finishMatch.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | Unique per finished match. Safe to use as a primary key: redeliveries carry the same id. | protocol.ts:244 |
room | string | null | The room id, if the room knows it (it does when players came through the gateway). | protocol.ts:246 |
endedAt | number | Epoch milliseconds. | protocol.ts:248 |
players | string[] | Everyone who held a seat when the match ended. | protocol.ts:250 |
result | Record<string, unknown> | Whatever the room passed to finishMatch. | protocol.ts:252 |
replayKey? | string | Where the replay was stored in the room's R2 bucket, if it stored one. | protocol.ts:254 |