SettingManager

Singleton object responsible for managing settings.

Properties

Link copied to clipboard

A mutable set to store all registered settings.

Functions

Link copied to clipboard
operator fun get(clazz: KClass<*>): List<Setting<*>>

Get a list of settings belonging to the specified settings container class.

operator fun get(clazz: KClass<*>, name: String): List<Setting<*>>

Get a list of settings with the specified name from the specified settings container class.

fun get(container: String, type: String, name: String): Setting<*>?
fun get(container: KClass<*>, type: KClass<*>, name: String): Setting<*>?

Get a setting based on the provided container class name, setting class name, and setting name.