public class SPacketTeams extends java.lang.Object implements Packet<INetHandlerPlayClient>
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) |
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()