UNPKG

werewolf-core

Version:

Are you a WEREWOLF?

27 lines (26 loc) 846 B
import { Event } from '../../lib'; import { EventHandler } from '../handler'; export declare const CHOICE_SEER: string; export declare const SEER_RESULT_NONE: string; export declare const SEER_RESULT_HUMAN: string; export declare const SEER_RESULT_WEREWOLF: string; export declare const EVENT_QUERY_SEER: string; export interface QuerySeerEvent extends Event { from: string; to: string; result: string; } export declare function initQuerySeerEvent(obj: { from: string; to: string; }): QuerySeerEvent; export declare const EVENT_GETFORTUNE: string; export interface GetfortuneEvent extends Event { from: string; to: string; } export declare function initGetfortuneEvent(obj: { from: string; to: string; }): GetfortuneEvent; export declare function seerEffect(role: string, result: string): Array<EventHandler>;