Interface: GameStateSnapshot — Kata docs
Kata docs

kata-framework


Interface: GameStateSnapshot

Defined in: packages/kata-core/src/types.ts:125

Properties

ctx

ctx: Record<string, any>;

Defined in: packages/kata-core/src/types.ts:127


currentActionIndex

currentActionIndex: number;

Defined in: packages/kata-core/src/types.ts:129


currentSceneId

currentSceneId: string | null;

Defined in: packages/kata-core/src/types.ts:128


expandedActions?

optional expandedActions?: KSONAction[];

Defined in: packages/kata-core/src/types.ts:131


history

history: string[];

Defined in: packages/kata-core/src/types.ts:130


locale?

optional locale?: string;

Defined in: packages/kata-core/src/types.ts:133


localeFallback?

optional localeFallback?: string;

Defined in: packages/kata-core/src/types.ts:134


schemaVersion

schemaVersion: number;

Defined in: packages/kata-core/src/types.ts:126


undoStack?

optional undoStack?: UndoEntry[];

Defined in: packages/kata-core/src/types.ts:132