public enum Warning extends Enum<Warning>
Enum Constant and Description |
---|
CANNOT_CHANGE_GOALIE
You cannot substitute the goalie.
|
CANNOT_CHANGE_GOALIE_WHILE_PENALTY_TAKEN
You cannot substitute the goalie during penalty shootouts.
|
CANNOT_CHANGE_GOALIE_WHILE_PLAYON
You cannot substitute the goalie whilst game mode is play on.
|
CANNOT_SAY_WHILE_PLAYON
Cannot say whilst game mode is play on.
|
CANNOT_SUB_WHILE_PENALTY_SHOOTOUTS
Cannot substitute a player during penalty shootouts.
|
CANNOT_SUB_WHILE_PLAYON
Cannot substitute a player whilst game mode is play on.
|
COMPRESSION_UNSUPPORTED
Compression isn't supported.
|
INVALID_TILE_LOCATION
The XPM tile location sent to the server was invalid.
|
INVALID_TILE_SIZE
The XPM tile size sent to the server was an invalid size.
|
MAX_OF_THAT_TYPE_ON_FIELD
You already have the maximum type of that player on the field.
|
MESSAGE_NOT_NULL_TERMINATED
The message you sent wasn't null terminated.
|
NO_LEFT_OF_THAT_TYPE
There are no players of that type left.
|
NO_SUBS_LEFT
You have no substitutes left.
|
NO_SUCH_PLAYER
The player you tried to access doesn't exist.
|
NO_TEAM_FOUND
The team you tried to access doesn't exist.
|
ONLY_BEFORE_KICK_OFF
This action can only be performed before kick off.
|
Modifier and Type | Method and Description |
---|---|
static Warning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Warning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Warning CANNOT_CHANGE_GOALIE
public static final Warning CANNOT_CHANGE_GOALIE_WHILE_PENALTY_TAKEN
public static final Warning CANNOT_CHANGE_GOALIE_WHILE_PLAYON
public static final Warning CANNOT_SAY_WHILE_PLAYON
public static final Warning CANNOT_SUB_WHILE_PENALTY_SHOOTOUTS
public static final Warning CANNOT_SUB_WHILE_PLAYON
public static final Warning COMPRESSION_UNSUPPORTED
public static final Warning INVALID_TILE_LOCATION
public static final Warning INVALID_TILE_SIZE
public static final Warning MAX_OF_THAT_TYPE_ON_FIELD
public static final Warning MESSAGE_NOT_NULL_TERMINATED
public static final Warning NO_LEFT_OF_THAT_TYPE
public static final Warning NO_SUBS_LEFT
public static final Warning NO_SUCH_PLAYER
public static final Warning NO_TEAM_FOUND
public static final Warning ONLY_BEFORE_KICK_OFF
public static Warning[] values()
for (Warning c : Warning.values()) System.out.println(c);
public static Warning 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 © 2003–2015 Atan. All rights reserved.