public static enum SPacketPlayerPosLook.EnumFlags extends java.lang.Enum<SPacketPlayerPosLook.EnumFlags>
Modifier and Type | Field and Description |
---|---|
private int |
bit |
Modifier and Type | Method and Description |
---|---|
private int |
getMask() |
private boolean |
isSet(int flags) |
static int |
pack(java.util.Set<SPacketPlayerPosLook.EnumFlags> flags) |
static java.util.Set<SPacketPlayerPosLook.EnumFlags> |
unpack(int flags) |
static SPacketPlayerPosLook.EnumFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SPacketPlayerPosLook.EnumFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPacketPlayerPosLook.EnumFlags X
public static final SPacketPlayerPosLook.EnumFlags Y
public static final SPacketPlayerPosLook.EnumFlags Z
public static final SPacketPlayerPosLook.EnumFlags Y_ROT
public static final SPacketPlayerPosLook.EnumFlags X_ROT
public static SPacketPlayerPosLook.EnumFlags[] values()
for (SPacketPlayerPosLook.EnumFlags c : SPacketPlayerPosLook.EnumFlags.values()) System.out.println(c);
public static SPacketPlayerPosLook.EnumFlags 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 int getMask()
private boolean isSet(int flags)
public static java.util.Set<SPacketPlayerPosLook.EnumFlags> unpack(int flags)
public static int pack(java.util.Set<SPacketPlayerPosLook.EnumFlags> flags)