ConsoleCommands / org.lazywizard.console / BaseCommand / runCommand

runCommand

abstract fun runCommand(args: String, context: CommandContext): CommandResult

Called when the player enters your command.

Parameters

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