File Value
A value file input that supports different file dialog modes and optional file type filtering. It will be treated as a relative path if it starts with ConfigSystem.rootFolder.
Parameters
The name of the configuration option.
The default selected file. The default value is ConfigSystem.rootFolder.
Specifies the type of file dialog to show (e.g., open file, save file, choose folder).
A set of allowed file extensions (without the dot), e.g., setOf("txt", "json"). Use null to allow any file type. This is ignored if dialogMode is set to select directories.
Constructors
Properties
The absolute file path.
If true, value will not be included in generated public config
If true, the description won't be bound to any net.ccbluex.liquidbounce.config.types.group.ValueGroup.
If true, value will always keep inner equals defaultValue
If true, value will not be included in generated RestAPI config
Functions
Deserialize value from JSON
Convert the FileValue to a ReadOnlyProperty of DynamicTexture.