Skip to content

FramesReplay beta ​

Interface of @v12-engine/engine

ts
export interface FramesReplay

A game recorded as the frames a watcher of it was sent: only what player saw, and what it was sent of it

Members ​

format ​

ts
format: 1;

The replay's file format, always 1 for a frames replay

frames ​

ts
frames: [tick: number, message: string][];

What the host sent, as it sent it, with the tick of the world then

from ​

ts
from: number;

The tick it started and ended at

game ​

ts
game: string;

The game it is of, by id: a page plays back what it has

player ​

ts
player: PlayerId;

Whose side it was seen from: their lines and cinematics, everything in sight besides

tickRate ​

ts
tickRate: number;

Ticks per second the game ran at

to ​

ts
to: number;

The tick the recording ended at