public class SPacketTeams extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private int |
action |
private java.lang.String |
collisionRule |
private int |
color |
private java.lang.String |
displayName |
private int |
friendlyFlags |
private java.lang.String |
name |
private java.lang.String |
nameTagVisibility |
private java.util.Collection<java.lang.String> |
players |
private java.lang.String |
prefix |
private java.lang.String |
suffix |
Constructor and Description |
---|
SPacketTeams() |
SPacketTeams(ScorePlayerTeam teamIn,
java.util.Collection<java.lang.String> playersIn,
int actionIn) |
SPacketTeams(ScorePlayerTeam teamIn,
int actionIn) |
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
java.lang.String |
getCollisionRule() |
int |
getColor() |
java.lang.String |
getDisplayName() |
int |
getFriendlyFlags() |
java.lang.String |
getName() |
java.lang.String |
getNameTagVisibility() |
java.util.Collection<java.lang.String> |
getPlayers() |
java.lang.String |
getPrefix() |
java.lang.String |
getSuffix() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
private java.lang.String name
private java.lang.String displayName
private java.lang.String prefix
private java.lang.String suffix
private java.lang.String nameTagVisibility
private java.lang.String collisionRule
private int color
private final java.util.Collection<java.lang.String> players
private int action
private int friendlyFlags
public SPacketTeams()
public SPacketTeams(ScorePlayerTeam teamIn, int actionIn)
public SPacketTeams(ScorePlayerTeam teamIn, java.util.Collection<java.lang.String> playersIn, int actionIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public java.lang.String getName()
public java.lang.String getDisplayName()
public java.lang.String getPrefix()
public java.lang.String getSuffix()
public java.util.Collection<java.lang.String> getPlayers()
public int getAction()
public int getFriendlyFlags()
public int getColor()
public java.lang.String getNameTagVisibility()
public java.lang.String getCollisionRule()