public static enum ICustomPacket.Fields extends java.lang.Enum<ICustomPacket.Fields>
Enum Constant and Description |
---|
CPACKETCUSTOMLOGIN |
CPACKETCUSTOMPAYLOAD |
SPACKETCUSTOMLOGIN |
SPACKETCUSTOMPAYLOAD |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Optional<java.lang.reflect.Field> |
channel |
private java.lang.Class<?> |
clazz |
(package private) java.util.Optional<java.lang.reflect.Field> |
data |
(package private) java.util.Optional<java.lang.reflect.Field> |
index |
(package private) static it.unimi.dsi.fastutil.objects.Reference2ReferenceArrayMap<java.lang.Class<?>,ICustomPacket.Fields> |
lookup |
Modifier and Type | Method and Description |
---|---|
private java.lang.Class<?> |
getClazz() |
static ICustomPacket.Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ICustomPacket.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICustomPacket.Fields CPACKETCUSTOMPAYLOAD
public static final ICustomPacket.Fields SPACKETCUSTOMPAYLOAD
public static final ICustomPacket.Fields CPACKETCUSTOMLOGIN
public static final ICustomPacket.Fields SPACKETCUSTOMLOGIN
static final it.unimi.dsi.fastutil.objects.Reference2ReferenceArrayMap<java.lang.Class<?>,ICustomPacket.Fields> lookup
private final java.lang.Class<?> clazz
final java.util.Optional<java.lang.reflect.Field> data
final java.util.Optional<java.lang.reflect.Field> channel
final java.util.Optional<java.lang.reflect.Field> index
public static ICustomPacket.Fields[] values()
for (ICustomPacket.Fields c : ICustomPacket.Fields.values()) System.out.println(c);
public static ICustomPacket.Fields 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 nullprivate java.lang.Class<?> getClazz()