HookKey beta
Interface of @v12-engine/engine
ts
export interface HookKey<T>A hook of a game's own, made with defineHookType: a moment of its rules others can take part in, the way the engine's hooks are for its own
Members
event
ts
readonly event?: T;Only there for the type of the event
id
ts
readonly id: string;The hook's id, shared by every game, which Hooks lists it by