public BaseCommand
The basic interface all console commands must implement.
Modifier and Type | Method and Description |
---|---|
(package private) BaseCommand.CommandResult |
runCommand(java.lang.String args,
BaseCommand.CommandContext context)
Called when the player enters your command.
|
BaseCommand.CommandResult runCommand(java.lang.String args, BaseCommand.CommandContext context)
Called when the player enters your command.
args
- org.jetbrains.dokka.NodeRenderContent@50169150: The arguments passed into this command. Will be an empty String
if no arguments were entered.context
- org.jetbrains.dokka.NodeRenderContent@197729f5: Where this command was called from (campaign, combat, mission, simulation, etc).enum BaseCommand.CommandResult
describing the result of execution.