mwg API
    Preparing search index...

    Interface MwlHookRegistry

    The hook implementations a game provides to the runtime.

    interface MwlHookRegistry {
        ai?: Readonly<Record<string, AiHook>>;
        command?: Readonly<Record<string, CommandHook>>;
        generator?: Readonly<Record<string, GeneratorHook>>;
        migration?: Readonly<Record<string, MigrationHook>>;
        modifier?: Readonly<Record<string, ModifierHook>>;
        predicate?: Readonly<Record<string, PredicateHook>>;
        saveable?: Readonly<Record<string, MwlSaveableHookState>>;
    }
    Index
    ai?: Readonly<Record<string, AiHook>>
    command?: Readonly<Record<string, CommandHook>>
    generator?: Readonly<Record<string, GeneratorHook>>
    migration?: Readonly<Record<string, MigrationHook>>
    modifier?: Readonly<Record<string, ModifierHook>>
    predicate?: Readonly<Record<string, PredicateHook>>
    saveable?: Readonly<Record<string, MwlSaveableHookState>>

    Explicitly opted-in game-owned state included in MWL saves.