Skip to content

ScoreData beta ​

Interface of @v12-engine/engine

ts
export interface ScoreData

What the score keeps in the world (world.state(scoreData)), plain data for a save: by stat, by player, the number; by stat, player and type, the numbers of a stat kept byType; the ticks of the timeline's points, and by stat and player, the number at each

Members ​

every ​

ts
every: number;

Ticks between two points of the timeline, as it is now (doubled each time it was thinned)

line ​

ts
line: Record<string, Record<number, number[]>>;

By stat and player: the number at each point of the timeline

ticks ​

ts
ticks: number[];

The ticks of the timeline's points

types ​

ts
types: Record<string, Record<number, Record<string, number>>>;

By stat, player and type: the numbers of a stat kept byType

values ​

ts
values: Record<string, Record<number, number>>;

By stat, by player: the number