Skip to main content

Function: createOrUpdateSystemSave()

createOrUpdateSystemSave(gameData): Promise<number>

Defined in: packages/core/src/saves/db.ts:244

Creates or updates the system save with the provided game data.

Parameters

gameData

Record<string, unknown>

The game state data to save as the system initial state.

Returns

Promise<number>

A promise that resolves to the ID of the system save.