Added documentation for PlayerInputResult

This commit is contained in:
bluefireoly
2020-10-27 13:38:44 +01:00
parent fd53ed0dd7
commit 1a2fb7f049

View File

@@ -1,3 +1,5 @@
@file:Suppress("MemberVisibilityCanBePrivate")
package net.axay.kspigot.chat.input
import net.axay.kspigot.chat.KColors
@@ -75,6 +77,9 @@ fun Player.awaitBookInputAsList(
PlayerInputBookPaged(this, callback, timeoutSeconds)
}
/**
* @param input The input the player gave. Null on timeout or invalid input.
*/
class PlayerInputResult<T> internal constructor(val input: T?)
internal abstract class PlayerInput<T>(