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

Method didApply

src/actions/HideParticles.ts:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 override async didApply(): Promise<ActionApplyResult> {
24 this.engine.state({
25 particles: ''
26 });
27 return { advance: true };
28 }
29
30 override async revert(): Promise<void> {
31 const history = this.engine.history('particle') as string[];

Callers 1

revertMethod · 0.45

Calls 1

stateMethod · 0.80

Tested by

no test coverage detected