EditorChecks beta
Class of @v12-engine/editor
export declare class EditorChecksWhat is wrong with the map: the checks of the engine and the game, and the files it names that are not there.
A part of the editor, as it gives it (editor.checks)
Members
constructor
constructor(host: ChecksHost);Constructs a new instance of the EditorChecks class
checked
checked?: {
version: number;
at: number;
problems: MapProblem[];
};What is wrong with the map, as it was when it was last checked
cinematics
readonly cinematics: CinematicCatalog;The game's cinematics, read and kept for what is checked of them
dispose
dispose(): void;Disposes of the cinematics read for the checks
problems
get problems(): MapProblem[];The problems found in the open map, worked out again when the map changed, at most twice a second
showProblem
showProblem(problem: MapProblem): void;Shows what a problem is about: selects it (an object, a camp, a region, a point, a path, a doodad) and looks at it; a player's is looked at, where they start
silence
silence(rule: string, silenced?: boolean): void;Silences a rule of the checks for this map (GameMap.silence), or speaks it again: a step of the history
start
start(): void;As the editor opens: what models and sounds there are files of, to say which the map names and are not there