|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||
java.lang.Objectjava.lang.Enum<GameServer.Request>
net.barkerjr.gameserver.GameServer.Request
public static enum GameServer.Request
The type of request to place
| Enum Constant Summary | |
|---|---|
BASIC
Very basic server information |
|
CHALLENGE
A challenge key, used internally in other requests. |
|
INFORMATION
General server information |
|
PLAYERS
The list of players and their scores |
|
PLUGIN
Don't request this, as all plugins are loaded automatically. |
|
RULES
The list of server rules and cvars |
|
| Method Summary | |
|---|---|
static GameServer.Request |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GameServer.Request[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GameServer.Request CHALLENGE
public static final GameServer.Request BASIC
public static final GameServer.Request INFORMATION
public static final GameServer.Request PLAYERS
public static final GameServer.Request RULES
public static final GameServer.Request PLUGIN
| Method Detail |
|---|
public static GameServer.Request[] values()
for (GameServer.Request c : GameServer.Request.values()) System.out.println(c);
public static GameServer.Request valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||