InputType

A simple enum class for input types Useful when getting user inputs to see if it is a UUID or a username
enum InputType : Enum

Entries

UUID
Link copied to clipboard
SHORTUUID
Link copied to clipboard
NAME
Link copied to clipboard

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: InputType): Int
describeConstable
Link copied to clipboard
override fun describeConstable(): Optional<Enum.EnumDesc<InputType>>
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<InputType>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int