MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / gameObject

Function gameObject

src/engine/persistence.ts:24–30  ·  view source on GitHub ↗
(engine: VisualNovelEngine)

Source from the content-addressed store, hash-verified

22 * @returns An object containing the current histories, state and storage variables.
23 */
24export function gameObject (engine: VisualNovelEngine): { history: HistoryMap; state: StateMap; storage: unknown } {
25 return {
26 history: engine.history (),
27 state: engine.state (),
28 storage: engine.storage ()
29 };
30}
31
32// ============================================================================
33// Save

Callers 1

saveToFunction · 0.85

Calls 3

historyMethod · 0.80
stateMethod · 0.80
storageMethod · 0.80

Tested by

no test coverage detected