Skip to content

SaveHeader beta ​

Interface of @v12-engine/engine

ts
export interface SaveHeader

What of a save says whether a game reads it, the rest of it apart: kept beside a save, for a list of them to ask with

Members ​

format ​

ts
format: number;

The save's format (SAVE_FORMAT) when it was written

game ​

ts
game: string;

The id of the game module the save was made with

hash ​

ts
hash: string;

The hash of the rules the save was made with, as WorldSave.hash

version ​

ts
version?: number;

1 when left out, as in a save from before games had versions of their saves