Skip to content

useGameboardRuntimeSnapshot

useGameboardRuntimeSnapshot(options?): GameboardRuntimeSnapshot

Defined in: src/react/react.ts:516

Read the current runtime snapshot and rerender when gameboard traits, relations, actor state, movement state, patrol state, or quest state changes.

This is the React equivalent of runtime.snapshot(). Use it for HUDs, inspectors, test probes, and render adapters that want a serializable view of live board state instead of raw Koota trait access.

GameboardRuntimeSnapshotOptions = DEFAULT_RUNTIME_SNAPSHOT_OPTIONS

GameboardRuntimeSnapshot