Skip to content

Interface: Replay<Input> ​

Defined in: lockstep.ts:61

Everything needed to run a match again: the seed and every turn in which something happened.

Extended by ​

Type Parameters ​

Type ParameterDefault type
Inputunknown

Properties ​

PropertyTypeDescriptionDefined in
v2Format version. Recordings made before 0.1 are version 1; runReplay reads both.lockstep.ts:63
seednumberThe simulation's seed.lockstep.ts:65
turnRatenumberTurns per second.lockstep.ts:67
turnnumberThe last turn of the recording. Turns missing from turns were empty.lockstep.ts:69
turns[turn: number, entries: TurnEntry<Input>[]][]Every turn in which something happened, in order, with what happened in it.lockstep.ts:71

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