Added documentation for PlayerInputResult
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
@file:Suppress("MemberVisibilityCanBePrivate")
|
||||||
|
|
||||||
package net.axay.kspigot.chat.input
|
package net.axay.kspigot.chat.input
|
||||||
|
|
||||||
import net.axay.kspigot.chat.KColors
|
import net.axay.kspigot.chat.KColors
|
||||||
@@ -75,6 +77,9 @@ fun Player.awaitBookInputAsList(
|
|||||||
PlayerInputBookPaged(this, callback, timeoutSeconds)
|
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?)
|
class PlayerInputResult<T> internal constructor(val input: T?)
|
||||||
|
|
||||||
internal abstract class PlayerInput<T>(
|
internal abstract class PlayerInput<T>(
|
||||||
|
Reference in New Issue
Block a user