Interface: TurnsMessage<Input>
Defined in: lockstep.ts:47
What a room with turnClock = "players" sends when it closes turns: turns n to n + c - 1, all empty but the last, which has e.
Type Parameters
| Type Parameter | Default type |
|---|---|
Input | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
tickflare | "turns" | Marks the message as this one, among any the game sends itself. | lockstep.ts:49 |
n | number | The first turn closed. | lockstep.ts:51 |
c | number | How many were closed. | lockstep.ts:53 |
e | TurnEntry<Input>[] | What happened in the last of them. | lockstep.ts:55 |
b? | string | The player whose request closed them, when it was a request. | lockstep.ts:57 |