SettingsManager

interface SettingsManager<S : Settings<*, *>>

A SettingsManager is an object that can save and load settings.

Parameters

S

the type of settings that is saved and loaded

Functions

loadSettings
Link copied to clipboard
abstract fun loadSettings()
Loads the default settings object.
abstract fun loadSettings(settings: S)
Loads settings.
saveSettings
Link copied to clipboard
abstract fun saveSettings()
Saves settings to the default settings object.
abstract fun saveSettings(settings: S)
Saves settings to settings.

Inheritors

SettingsComponent
Link copied to clipboard

Sources

jvm source
Link copied to clipboard