Skip to content

GameSnapshot

Defined in: packages/save/src/snapshot/types.ts:14

Complete snapshot of the game state.

optional extras?: Record<string, unknown>

Defined in: packages/save/src/snapshot/types.ts:23

Extension data contributed by plugins outside the entity/component model — e.g. layer/scene/screen-scope effects from the renderer. Keyed by the string passed to SnapshotService.registerSnapshotExtra.


scenes: SceneSnapshotEntry[]

Defined in: packages/save/src/snapshot/types.ts:17


timestamp: number

Defined in: packages/save/src/snapshot/types.ts:16


version: number

Defined in: packages/save/src/snapshot/types.ts:15