Updated docs

This commit is contained in:
bluefireoly
2020-10-16 02:13:42 +02:00
parent 27285cf435
commit 69b2e6cd17
924 changed files with 10606 additions and 60764 deletions

View File

@@ -0,0 +1,14 @@
---
title: ConfigDelegate -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.config](../index.md)/[ConfigDelegate](index.md)/[ConfigDelegate](-config-delegate.md)
# ConfigDelegate
[jvm]
Content
fun <[T](index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [ConfigDelegate](-config-delegate.md)(configClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](index.md)>, file: [File](https://docs.oracle.com/javase/8/docs/api/java/io/File.html), defaultCallback: () -> [T](index.md)?)

View File

@@ -0,0 +1,14 @@
---
title: getValue -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.config](../index.md)/[ConfigDelegate](index.md)/[getValue](get-value.md)
# getValue
[jvm]
Content
operator fun [getValue](get-value.md)(thisRef: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, property: [KProperty](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html)<*>): [T](index.md)

View File

@@ -0,0 +1,47 @@
---
title: ConfigDelegate -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.config](../index.md)/[ConfigDelegate](index.md)
# ConfigDelegate
[jvm] class [ConfigDelegate](index.md)<[T](index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)>(**configClass**: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](index.md)>, **file**: [File](https://docs.oracle.com/javase/8/docs/api/java/io/File.html), **defaultCallback**: () -> [T](index.md)?)
## See also
jvm
| Name| Summary|
|---|---|
| [kSpigotJsonConfig](../k-spigot-json-config.md)| <br><br><br><br>
## Constructors
| Name| Summary|
|---|---|
| [ConfigDelegate](-config-delegate.md)| [jvm] fun <[T](index.md) : [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)> [ConfigDelegate](-config-delegate.md)(configClass: [KClass](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)<[T](index.md)>, file: [File](https://docs.oracle.com/javase/8/docs/api/java/io/File.html), defaultCallback: () -> [T](index.md)?) <br>
## Functions
| Name| Summary|
|---|---|
| [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)| [jvm] <br>Content <br>open operator override fun [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br><br><br>
| [getValue](get-value.md)| [jvm] <br>Content <br>operator fun [getValue](get-value.md)(thisRef: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, property: [KProperty](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html)<*>): [T](index.md) <br><br><br>
| [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)| [jvm] <br>Content <br>open override fun [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) <br><br><br>
| [reload](reload.md)| [jvm] <br>Brief description <br><br><br>Loads the current state of the config on disk to the config object.<br><br> <br>Content <br>fun [reload](reload.md)() <br><br><br>
| [save](save.md)| [jvm] <br>Brief description <br><br><br>Saves the config object in its current state to disk.<br><br> <br>Content <br>fun [save](save.md)() <br><br><br>
| [setValue](set-value.md)| [jvm] <br>Content <br>operator fun [setValue](set-value.md)(thisRef: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, property: [KProperty](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html)<*>, config: [T](index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br><br><br>
| [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)| [jvm] <br>Content <br>open override fun [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) <br><br><br>
## Properties
| Name| Summary|
|---|---|
| [data](index.md#net.axay.kspigot.config/ConfigDelegate/data/#/PointingToDeclaration/)| [jvm] var [data](index.md#net.axay.kspigot.config/ConfigDelegate/data/#/PointingToDeclaration/): [T](index.md) <br>

View File

@@ -0,0 +1,20 @@
---
title: reload -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.config](../index.md)/[ConfigDelegate](index.md)/[reload](reload.md)
# reload
[jvm]
Brief description
Loads the current state of the config on disk to the config object.
Content
fun [reload](reload.md)()

View File

@@ -0,0 +1,20 @@
---
title: save -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.config](../index.md)/[ConfigDelegate](index.md)/[save](save.md)
# save
[jvm]
Brief description
Saves the config object in its current state to disk.
Content
fun [save](save.md)()

View File

@@ -0,0 +1,14 @@
---
title: setValue -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.config](../index.md)/[ConfigDelegate](index.md)/[setValue](set-value.md)
# setValue
[jvm]
Content
operator fun [setValue](set-value.md)(thisRef: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, property: [KProperty](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html)<*>, config: [T](index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)