Skip to content

refusalOf beta ​

Function of @v12-engine/engine

ts
export declare function refusalOf(event: {
    cancelled: boolean;
    reason?: MessageRef;
}): MessageRef | undefined;

What a hook that tells the player refuses with: its reason, or the engine's word where a handler gave none; nothing where it lets through