TypedEnumArgumentDescriptor

class TypedEnumArgumentDescriptor<T : Enum<T>>(val type: Class<T>) : ArgumentDescriptor<EnumArgumentType>

ArgumentDescriptor for EnumArgumentType allowing all enum constants of T.

Author

Cypher121

See also

org.quiltmc.qsl.command.api.EnumArgumentType

Constructors

Link copied to clipboard
fun <T : Enum<T>> TypedEnumArgumentDescriptor(type: Class<T>)

Properties

Link copied to clipboard
val type: Class<T>

enum class of the argument.