Type Alias Data
type Data = {
allSettings: TJSGameSettingsWithUI.UISetting.Data[];
destroy?: () => void;
folders: Folder[];
resetCurrent?: (options: { confirm?: boolean }) => Promise<boolean>;
resetDefault?: (options: { confirm?: boolean }) => Promise<boolean>;
sections: Section[];
storeScrollbar: Writable<number>;
topLevel: TJSGameSettingsWithUI.UISetting.Data[];
}
allSettings: TJSGameSettingsWithUI.UISetting.Data[];
destroy?: () => void;
folders: Folder[];
resetCurrent?: (options: { confirm?: boolean }) => Promise<boolean>;
resetDefault?: (options: { confirm?: boolean }) => Promise<boolean>;
sections: Section[];
storeScrollbar: Writable<number>;
topLevel: TJSGameSettingsWithUI.UISetting.Data[];
}
Index
Properties
allSettings
Optionaldestroy
destroy?: () => void
The bound destroy callback function for received of TJSGameSettingsWithUI.Data instance.
folders
Sorted folders with associated settings and label.
OptionalresetCurrent
Resets any current changes made to settings since the UIControl data has been initialized.
OptionalresetDefault
Resets all settings to initial default values.
sections
Custom sections.
storeScrollbar
The store for applyScroll.
topLevel
Top level settings data.
All settings regardless of top level or in folders.