public enum DemoMessageValue extends Enum<DemoMessageValue> implements ClientNotificationValue
| Enum Constant and Description |
|---|
INVENTORY_CONTROL |
JUMP_CONTROL |
MOVEMENT_CONTROLS |
WELCOME |
| Modifier and Type | Method and Description |
|---|---|
static DemoMessageValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DemoMessageValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DemoMessageValue WELCOME
public static final DemoMessageValue MOVEMENT_CONTROLS
public static final DemoMessageValue JUMP_CONTROL
public static final DemoMessageValue INVENTORY_CONTROL
public static DemoMessageValue[] values()
for (DemoMessageValue c : DemoMessageValue.values()) System.out.println(c);
public static DemoMessageValue 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 © 2020. All rights reserved.