ReferenceSource beta
Interface of @v12-engine/editor
ts
export interface ReferenceSourceWhat the search reads: the map and the game, and what the editor holds beside them
Members
cinematics
ts
cinematics?: ReadonlyMap<string, CinematicDef>;The game's cinematics by name, to search in
game
ts
game?: MapEditorDef['references'];What the game says of its own
kinds
ts
kinds?: readonly MapKindDef[];The game's kinds of thing, with their fields
map
ts
map: GameMap;The map the references are searched in
prefabs
ts
prefabs?: ReadonlyMap<string, PrefabFile>;The prefab files of the game by name, to search in
registry
ts
registry: Registry;The registry whose definitions the references are searched in
things
ts
things?: (kind: string) => readonly MapThing[];The things of a kind on the map