static enum NetHandlerLoginServer.LoginState extends java.lang.Enum<NetHandlerLoginServer.LoginState>
Enum Constant and Description |
---|
ACCEPTED |
AUTHENTICATING |
DELAY_ACCEPT |
HELLO |
KEY |
READY_TO_ACCEPT |
Modifier and Type | Method and Description |
---|---|
static NetHandlerLoginServer.LoginState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetHandlerLoginServer.LoginState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetHandlerLoginServer.LoginState HELLO
public static final NetHandlerLoginServer.LoginState KEY
public static final NetHandlerLoginServer.LoginState AUTHENTICATING
public static final NetHandlerLoginServer.LoginState READY_TO_ACCEPT
public static final NetHandlerLoginServer.LoginState DELAY_ACCEPT
public static final NetHandlerLoginServer.LoginState ACCEPTED
public static NetHandlerLoginServer.LoginState[] values()
for (NetHandlerLoginServer.LoginState c : NetHandlerLoginServer.LoginState.values()) System.out.println(c);
public static NetHandlerLoginServer.LoginState 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