public enum BaseCommand.CommandResult
Represents the success status of a command. Returned by
. BaseCommand.runCommand
BaseCommand.runCommand
Enum Constant and Description |
---|
BAD_SYNTAX
Command had the wrong arguments passed in.
|
ERROR
Something went wrong while executing the command.
|
SUCCESS
Command ran successfully.
|
WRONG_CONTEXT
Command was used in the wrong context (ex: entering a campaign-only command in a mission).
|
public BaseCommand.CommandResult SUCCESS
Command ran successfully.
public BaseCommand.CommandResult BAD_SYNTAX
Command had the wrong arguments passed in.
public BaseCommand.CommandResult WRONG_CONTEXT
Command was used in the wrong context (ex: entering a campaign-only command in a mission).
public BaseCommand.CommandResult ERROR
Something went wrong while executing the command.