public enum CommandType extends Enum<CommandType>
UnitCommand
.Enum Constant and Description |
---|
EnableFlag |
LeaveGame |
None |
PauseGame |
PingMinimap |
Printf |
RestartGame |
ResumeGame |
SendText |
SetAllies |
SetCommandOptimizerLevel |
SetFrameSkip |
SetGui |
SetLatCom |
SetLocalSpeed |
SetMap |
SetRevealAll |
SetScreenPosition |
SetVision |
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandType None
public static final CommandType SetScreenPosition
public static final CommandType PingMinimap
public static final CommandType EnableFlag
public static final CommandType Printf
public static final CommandType SendText
public static final CommandType PauseGame
public static final CommandType ResumeGame
public static final CommandType LeaveGame
public static final CommandType RestartGame
public static final CommandType SetLocalSpeed
public static final CommandType SetLatCom
public static final CommandType SetGui
public static final CommandType SetFrameSkip
public static final CommandType SetMap
public static final CommandType SetAllies
public static final CommandType SetVision
public static final CommandType SetCommandOptimizerLevel
public static final CommandType SetRevealAll
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.