ConfigManager.d overview
Table of contents
utils
ConfigManager (class)
ConfigManager
The static class that manages the configuration data.
Signature
export declare class ConfigManager {
constructor()
}
load (static method)
Signature
static load(): Promise<number>
save (static method)
Signature
static save(): void
isLoaded (static method)
Signature
static isLoaded(): boolean
makeData (static method)
Signature
static makeData(): DataConfig
applyData (static method)
Signature
static applyData(config: Partial<DataConfig>): void
readFlag (static method)
Signature
static readFlag(config: Partial<DataConfig>, name: keyof DataConfig, defaultValue: boolean): boolean
readVolume (static method)
Signature
static readVolume(config: Partial<DataConfig>, name: keyof DataConfig): number