public static enum PacketPlayOutTeams.Mode extends Enum<PacketPlayOutTeams.Mode>
Enum Constant and Description |
---|
ADD_PLAYER |
CREATED |
REMOVE_PLAYER |
REMOVED |
UPDATED |
Modifier and Type | Field and Description |
---|---|
protected byte |
b |
Modifier and Type | Method and Description |
---|---|
byte |
asByte() |
static PacketPlayOutTeams.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayOutTeams.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayOutTeams.Mode CREATED
public static final PacketPlayOutTeams.Mode REMOVED
public static final PacketPlayOutTeams.Mode UPDATED
public static final PacketPlayOutTeams.Mode ADD_PLAYER
public static final PacketPlayOutTeams.Mode REMOVE_PLAYER
protected final byte b
public static PacketPlayOutTeams.Mode[] values()
for (PacketPlayOutTeams.Mode c : PacketPlayOutTeams.Mode.values()) System.out.println(c);
public static PacketPlayOutTeams.Mode 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 nullpublic byte asByte()
Copyright © 2016. All rights reserved.