Defines the game setting with UI options for TJSGameSettings.register.

interface GameSetting {
    folder?: string;
    key: string;
    namespace?: string;
    options: CoreSetting;
    store?: MinimalWritable<any>;
}
Hierarchy

Properties

folder?: string

The name of the TJSSvgFolder to put this setting in to group them.

key: string

The setting key to register.

namespace?: string

The setting namespace; usually the ID of the package. If not provided the associated namespace with the instance of TJSGameSettings will be used.

options: CoreSetting

Core game setting configuration options.

store?: MinimalWritable<any>

An existing store instance to use.