DazzlConfConfigManager

Manages configurations using the DazzlConf library, including loading, saving, and reloading configurations. Provides resilience against syntax or invalid data errors and defaults to a valid configuration when such errors occur.

Parameters

C

The type of the configuration class.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The current configuration instance, or null if not yet loaded.

Functions

Link copied to clipboard

Retrieves the current configuration, reloading it if not already loaded.

Link copied to clipboard

Reloads the configuration from the file. If a syntax or validation error occurs, a default configuration is used.