ShellDialogs beta
Interface of @v12-engine/editor
export interface ShellDialogsThe dialogs of the editor's interface, by id, with what each is opened with (undefined for those opened with nothing): the maps to open, the editor's settings, the name of a layout to keep, a new map made by the game's generator, the browser's storage, a template's name, a picture of the view, a prefab to rename (and tag) or copy under another name, and what to replace something with
Members
"prefab-name"
'prefab-name': {
purpose: 'rename' | 'duplicate' | 'variant';
name: string;
};What the prefab-name dialog is for: a prefab renamed (and tagged), or copied under another name
"template-name"
'template-name': undefined;The name to keep the map open now as a template under (File › Save as template)
"view-picture"
'view-picture': undefined;A picture of the view: its scale, its kind, its name among the map's files (View › A picture of the view)
generate
generate: undefined;The dialog for a new map made by the game's generator, opened with nothing
layout
layout: undefined;The dialog for the name a layout is kept under, opened with nothing
open
open: undefined;The dialog of the maps to open, opened with nothing
replace
replace: {
ref: Reference;
where: 'selection' | 'everywhere';
};What the Replace with dialog is for: what is replaced, on the selection or everywhere
settings
settings: undefined;The editor's settings dialog, opened with nothing
storage
storage: undefined;The dialog of the browser's storage the editor keeps, opened with nothing