UNPKG

werewolf-core

Version:

Are you a WEREWOLF?

26 lines (25 loc) 813 B
import { Event } from '../../lib'; import { EventHandler } from '../handler'; export declare const MEDIUM_RESULT_NONE: string; export declare const MEDIUM_RESULT_HUMAN: string; export declare const MEDIUM_RESULT_WEREWOLF: string; export declare const EVENT_QUERY_MEDIUM: string; export interface QueryMediumEvent extends Event { from: string; to: string; result: string; } export declare function initQueryMediumEvent(obj: { from: string; to: string; }): QueryMediumEvent; export declare const EVENT_DO_MEDIUM: string; export interface DoMediumEvent extends Event { from: string; to: string; } export declare function initDoMediumEvent(obj: { from: string; to: string; }): DoMediumEvent; export declare function mediumEffect(role: string, result: string): Array<EventHandler>;