1.8 KiB
1.8 KiB
title
title |
---|
net.axay.kspigot.config - |
//KSpigot/net.axay.kspigot.config
Package net.axay.kspigot.config
Types
Name | Summary |
---|---|
ConfigDelegate | [jvm] Content class ConfigDelegate<T : Any>(configClass: KClass<T>, file: File, defaultCallback: () -> T?) |
PluginFile | [jvm] Content class PluginFile(path: String, child: String?) : File |
Functions
Name | Summary |
---|---|
kSpigotJsonConfig | [jvm] Brief description Creates a new ConfigDelegate object. You can use this as a delegate (with by) or a normal object. (Delegate allows direct access to the config object, but does not provide save() or reload() methods.) Content inline fun <T : Any> kSpigotJsonConfig(file: File, noinline default: () -> T?): ConfigDelegate<T> |