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

Method shutUp

src/actions/Play.ts:189–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187
188 // Stop the voice player
189 static shutUp(): void {
190 const players = this.engine.mediaPlayers('voice', true);
191 for (const media of Object.keys(players)) {
192 this.engine.removeMediaPlayer('voice', media);
193 }
194
195 this.engine.state({ voice: [] });
196 }
197
198 type: MediaType;
199 directory: string;

Callers 2

willProceedMethod · 0.80
willRollbackMethod · 0.80

Calls 4

mediaPlayersMethod · 0.80
removeMediaPlayerMethod · 0.80
stateMethod · 0.80
keysMethod · 0.65

Tested by

no test coverage detected