java.io.Serializable
, java.lang.Comparable<ResponseType>
public enum ResponseType extends java.lang.Enum<ResponseType>
Enum Constant | Description |
---|---|
ACTION |
|
AVAILABLE_MAPS |
|
CREATE_GAME |
|
DATA |
|
DEBUG |
|
ERROR |
|
GAME_INFO |
|
JOIN_GAME |
|
LEAVE_GAME |
|
OBSERVATION |
|
OBSERVER_ACTION |
|
PING |
|
QUERY |
|
QUICK_LOAD |
|
QUICK_SAVE |
|
QUIT_GAME |
|
REPLAY_INFO |
|
RESTART_GAME |
|
SAVE_MAP |
|
SAVE_REPLAY |
|
START_REPLAY |
|
STEP |
Modifier and Type | Method | Description |
---|---|---|
static ResponseType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResponseType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseType ERROR
public static final ResponseType PING
public static final ResponseType AVAILABLE_MAPS
public static final ResponseType CREATE_GAME
public static final ResponseType JOIN_GAME
public static final ResponseType LEAVE_GAME
public static final ResponseType RESTART_GAME
public static final ResponseType QUIT_GAME
public static final ResponseType START_REPLAY
public static final ResponseType REPLAY_INFO
public static final ResponseType OBSERVATION
public static final ResponseType STEP
public static final ResponseType ACTION
public static final ResponseType QUICK_SAVE
public static final ResponseType QUICK_LOAD
public static final ResponseType SAVE_MAP
public static final ResponseType SAVE_REPLAY
public static final ResponseType DEBUG
public static final ResponseType GAME_INFO
public static final ResponseType QUERY
public static final ResponseType DATA
public static final ResponseType OBSERVER_ACTION
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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 nullCopyright © 2017–2018 Ocraft Project. All rights reserved.