ErrorSite beta
Interface of @v12-engine/engine
ts
export interface ErrorSiteThe part of the game that threw
Members
entity
ts
entity?: EntityId;The unit whose order it was
hook
ts
hook?: string;The hook a handler is on
id
ts
id: string;Its id: the handler's, the listener's, the system's name, the timer's, the order's or the command's type
kind
ts
kind: 'hook' | 'listener' | 'system' | 'timer' | 'order' | 'command';What sort of part threw: a hook's handler, a listener, a system, a timer, a unit's order or a player's command
mod
ts
mod?: string;The mod that added the part or changed it last, for a game with mods (composeGame)
player
ts
player?: PlayerId;The player whose command it was