Skip to content

SaveMigration beta ​

TypeAlias of @v12-engine/engine

ts
export type SaveMigration = (save: WorldSave) => WorldSave | void;

A step of a game's own, from one version of its saves to the next. The save is plain data in the engine's format of now (the engine's own steps run first), and a copy: the step changes it in place, or gives another