public enum RakNetState extends Enum<RakNetState>
| Enum Constant and Description |
|---|
CONNECTED |
CONNECTING |
DISCONNECTED |
INITIALIZED |
INITIALIZING |
UNCONNECTED |
| Modifier and Type | Method and Description |
|---|---|
static RakNetState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RakNetState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RakNetState UNCONNECTED
public static final RakNetState INITIALIZING
public static final RakNetState INITIALIZED
public static final RakNetState CONNECTING
public static final RakNetState CONNECTED
public static final RakNetState DISCONNECTED
public static RakNetState[] values()
for (RakNetState c : RakNetState.values()) System.out.println(c);
public static RakNetState 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 © 2018–2019. All rights reserved.