public static enum BaseCommand.CommandContext extends java.lang.Enum<BaseCommand.CommandContext>
Enum Constant and Description |
---|
CAMPAIGN_MAP
Command was entered on the campaign map.
|
COMBAT_CAMPAIGN
Command was entered during a battle in the campaign (doesn't include
simulation battles).
|
COMBAT_MISSION
Command was entered during a mission.
|
COMBAT_SIMULATION
Currently unused due to API limitations.
|
Modifier and Type | Method and Description |
---|---|
static BaseCommand.CommandContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseCommand.CommandContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseCommand.CommandContext CAMPAIGN_MAP
public static final BaseCommand.CommandContext COMBAT_CAMPAIGN
public static final BaseCommand.CommandContext COMBAT_MISSION
public static final BaseCommand.CommandContext COMBAT_SIMULATION
COMBAT_MISSION
instead.
public static BaseCommand.CommandContext[] values()
for (BaseCommand.CommandContext c : BaseCommand.CommandContext.values()) System.out.println(c);
public static BaseCommand.CommandContext valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null