AutoConfig

object AutoConfig

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun loadAutoConfig(autoConfig: AutoSettings)

fun loadAutoConfig(jsonObject: JsonObject, modules: Collection<ValueGroup> = emptyList())

Handles the data from a configurable, which might be an auto config and therefore has data which should be displayed to the user.

fun loadAutoConfig(reader: Reader, modules: Collection<ValueGroup> = emptyList())

Deserialize module configurable from a reader

Link copied to clipboard
suspend fun reloadConfigs(): Boolean

Reloads auto settings list.

Link copied to clipboard
fun serializeAutoConfig(writer: Writer, includeConfiguration: IncludeConfiguration = IncludeConfiguration.Companion.DEFAULT, autoSettingsType: AutoSettingsType = AutoSettingsType.RAGE, statusType: AutoSettingsStatusType = AutoSettingsStatusType.BYPASSING)

Created an auto config, which stores the moduleConfigur

Link copied to clipboard
inline fun withLoading(block: () -> Unit)