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

Method setup

src/actions/Scene.ts:10–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 static override loadingOrder = -2;
9
10 static override async setup(): Promise<void> {
11 this.engine.history('scene');
12 this.engine.history('sceneElements');
13 this.engine.history('sceneState');
14
15 this.engine.global('_should_restore_nvl', false);
16
17 this.engine.state({
18 scene: ''
19 });
20 }
21
22 static override async onLoad(): Promise<void> {
23 const sceneState = this.engine.history('sceneState');

Callers

nothing calls this directly

Calls 3

historyMethod · 0.80
globalMethod · 0.80
stateMethod · 0.80

Tested by

no test coverage detected