public static enum CoreAPI.Side extends java.lang.Enum<CoreAPI.Side>
| Enum Constant and Description |
|---|
ALL |
DEDICATED_BOTH |
DEDICATED_CLIENT |
DEDICATED_SERVER |
LOGICAL_BOTH |
LOGICAL_CLIENT |
LOGICAL_SERVER |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static CoreAPI.Side |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoreAPI.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreAPI.Side ALL
public static final CoreAPI.Side DEDICATED_BOTH
public static final CoreAPI.Side DEDICATED_CLIENT
public static final CoreAPI.Side DEDICATED_SERVER
public static final CoreAPI.Side LOGICAL_BOTH
public static final CoreAPI.Side LOGICAL_CLIENT
public static final CoreAPI.Side LOGICAL_SERVER
public static CoreAPI.Side[] values()
for (CoreAPI.Side c : CoreAPI.Side.values()) System.out.println(c);
public static CoreAPI.Side 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<CoreAPI.Side>