command
/
io.github.monull.command
/
Command
Command
abstract class
Command
(name:
String
, requirement:
CommandSource
.() ->
Boolean
?, executor:
CommandSource
.(
CommandContext
) ->
Unit
?, children:
Collection
<
Command
>)
Content copied to clipboard
Functions
Properties
Inheritors
Functions
getChild
Link copied to clipboard
fun
getChild
(arg:
String
):
Command
?
Content copied to clipboard
Properties
executor
Link copied to clipboard
val
executor
:
CommandSource
.(
CommandContext
) ->
Unit
?
Content copied to clipboard
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
requirement
Link copied to clipboard
val
requirement
:
CommandSource
.() ->
Boolean
?
Content copied to clipboard
Inheritors
ArgumentCommand
Link copied to clipboard
LiteralCommand
Link copied to clipboard