Skip to content

CtxRound

Defined in: core/define.ts:77

Round bookkeeping visible to game code (ADR 0008).

readonly deadline: number | null

Defined in: core/define.ts:55

Epoch ms when the round closes on its own, or null.

RoundInfo.deadline


readonly number: number

Defined in: core/define.ts:48

1-based count of rounds in this phase.

RoundInfo.number


readonly open: boolean

Defined in: core/define.ts:49

RoundInfo.open


readonly participants: readonly number[]

Defined in: core/define.ts:51

Seats that were occupied when the round opened.

RoundInfo.participants


readonly pending: readonly number[]

Defined in: core/define.ts:53

RoundInfo.pending


readonly submitted: readonly number[]

Defined in: core/define.ts:52

RoundInfo.submitted

close(): void

Defined in: core/define.ts:79

Closes the round now. onClose runs at the end of this entry.

void


next(): void

Defined in: core/define.ts:81

Opens the next round. Only valid after the current one closed.

void