SaveControls beta
Interface of @v12-engine/client
export interface SaveControlsWhat saving needs of where the game is played: the place it is played in, what that was opened with, and what a save is called. Given to the client as it is made (GameClientOptions.saves), which makes its saves of it (client.saves)
Members
args
args: object;What the place was opened with, kept with a save: plain data
autosave
autosave?: AutosaveOptions;The game saves by itself, every so many seconds of it (AutosaveOptions)
name
name: () => string;What a new save is called, before the player says otherwise: the mission, the time in it
open
open: (slot: string, args: Record<string, unknown>, from: WorldSave) => void;Opens a saved game: the place it was played in, what that was opened with, and the world as it was saved
slot
slot: string;The place the game is played in, by name, that its saves are kept under and listed by: a scene of an app, or what a page calls it
store
store?: Store<SavedGame>;Where the saves are kept, in place of this browser (Store)