CinematicCatalog beta
Class of @v12-engine/editor
ts
export declare class CinematicCatalogThe game's cinematics, each read and kept as it changes: see the top of this file. defs() and failed() as they are now; problems() what is wrong with them against the map as it is now
Members
constructor
ts
constructor(editor: CinematicCatalogHost, changed?: () => void);Constructs a new instance of the CinematicCatalog class
defs
ts
defs(): ReadonlyMap<string, CinematicDef>;The cinematics read, by id
dispose
ts
dispose(): void;Stops keeping them
failed
ts
failed(): ReadonlyMap<string, string>;The cinematics whose file does not read, and why
ids
ts
ids(): string[];The ids of the cinematics there are files of, read or not
problems
ts
problems(): MapProblem[];What is wrong with the game's cinematics against the map as it is now: worked out again as either changes
refresh
ts
refresh(): Promise<void>;Reads the list of the folder again: those new read, those gone forgotten
start
ts
start(): void;Begins reading the game's cinematics, and keeping them as they change