-
public interface BaseCommandThe basic interface all console commands must implement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description enumBaseCommand.CommandResultRepresents the success status of a command. Returned by runCommand.
enumBaseCommand.CommandContextRepresents what screen the player was on when they used the command.
-
Method Summary
Modifier and Type Method Description abstract BaseCommand.CommandResultrunCommand(String args, BaseCommand.CommandContext context)Called when the player enters your command. -
-
Method Detail
-
runCommand
abstract BaseCommand.CommandResult runCommand(String args, BaseCommand.CommandContext context)
Called when the player enters your command.
- Parameters:
args- The arguments passed into this command.context- Where this command was called from (campaign, combat, mission, simulation, etc).
-
-
-
-