SettingHandler

class SettingHandler(val key: SettingKey, settingsManager: PlayerSettingsManager, languageManager: LanguageManager)(source)

Reads and writes one player setting, identified by key.

Everything that differs between settings lives on the SettingKey; this class is the shared mechanism that applies it.

Constructors

Link copied to clipboard
constructor(key: SettingKey, settingsManager: PlayerSettingsManager, languageManager: LanguageManager)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Enables or disables the setting for a player.

Link copied to clipboard

Shows the current status of the setting for a player.