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

Function proceed

src/engine/lifecycle.ts:494–501  ·  view source on GitHub ↗
(engine: VisualNovelEngine, { userInitiated = false, skip = false, autoPlay = false } = {})

Source from the content-addressed store, hash-verified

492// ============================================================================
493
494export async function proceed (engine: VisualNovelEngine, { userInitiated = false, skip = false, autoPlay = false } = {}): Promise<void> {
495 await shouldProceed (engine, { userInitiated, skip, autoPlay });
496
497 engine.global ('_engine_block', true);
498
499 await willProceed (engine);
500 await engine.next ();
501}
502
503export async function rollback (engine: VisualNovelEngine): Promise<void> {
504 const allowRollback = engine.setting ('AllowRollback') === true;

Callers

nothing calls this directly

Calls 4

shouldProceedFunction · 0.85
willProceedFunction · 0.85
globalMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected