abstract fun runCommand(args: String, context: CommandContext): CommandResult
Called when the player enters your command.
args
- The arguments passed into this command. Will be an empty string if no arguments were entered.
context
- Where this command was called from (campaign, combat, mission, simulation, etc).
Return
A CommandResult describing the result of execution.
Since
2.0