public static enum JoinResult.Status extends java.lang.Enum<JoinResult.Status>
Round
.Enum Constant and Description |
---|
ALREADY_IN_ROUND
A failed join due to the player already being present in a
Round . |
INTERNAL_ERROR
A failed join due to an internal error.
|
PLAYER_OFFLINE
A failed join due to the player being offline.
|
ROUND_FULL
A failed join due to the round being at capacity.
|
SUCCESS
A successful join.
|
Modifier and Type | Method and Description |
---|---|
static JoinResult.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JoinResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinResult.Status SUCCESS
public static final JoinResult.Status ALREADY_IN_ROUND
Round
.public static final JoinResult.Status ROUND_FULL
public static final JoinResult.Status INTERNAL_ERROR
public static final JoinResult.Status PLAYER_OFFLINE
public static JoinResult.Status[] values()
for (JoinResult.Status c : JoinResult.Status.values()) System.out.println(c);
public static JoinResult.Status 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