GraphMine

graphmine-core / io.github.sof3.graphmine.command / EmptyOverload

EmptyOverload

class EmptyOverload : Overload

An empty overload, reused for commands that do not require arguments.

Constructors

<init> EmptyOverload()
An empty overload, reused for commands that do not require arguments.

Inherited Functions

addArg fun <T : Any> addArg(arg: CommandArg<T>): CommandArg<T>
CommandArg factory extension functions must call this function before returning the argument
client fun client(): CommandArg<Client>
enum fun <E : Enum<E>> enum(): CommandArg<E>
fun <E : Enum<E>> enum(enumClass: KClass<E>): CommandArg<E>
integer fun integer(): CommandArg<Int>
number fun number(): CommandArg<Double>
rawText fun rawText(): CommandArg<String>
string fun string(): CommandArg<String>