Interface: Snapshot
Defined in: lockstep.ts:79
A simulation as it stood after one turn, saved by a player's client and kept by the room, so that someone joining late starts from it instead of from turn 1.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
turn | number | The turn the simulation was at. | lockstep.ts:81 |
hash | string | The simulation's hash at that turn, as the players connected then reported it. | lockstep.ts:83 |
data | string | What the simulation's save returned, as JSON text. | lockstep.ts:85 |