Skip to content

saveGame beta ​

Function of @v12-engine/client

ts
export declare function saveGame<A extends object>(
world: World | WorldSave, scene: string, args: A, name: string, store?: Store<SavedGame<A>>, options?: {
    picture?: string;
}): Promise<SavedGameSummary<A>>;

Saves a world being played somewhere (scene), under a name, with what the place was opened with (plain data: what cannot be kept, a save or a map handed over, is left out by whoever calls). What was saved