public class SPacketPlayerListItem extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Class and Description |
---|---|
static class |
SPacketPlayerListItem.Action |
class |
SPacketPlayerListItem.AddPlayerData |
Constructor and Description |
---|
SPacketPlayerListItem() |
SPacketPlayerListItem(SPacketPlayerListItem.Action actionIn,
EntityPlayerMP... playersIn) |
SPacketPlayerListItem(SPacketPlayerListItem.Action actionIn,
java.lang.Iterable<EntityPlayerMP> playersIn) |
Modifier and Type | Method and Description |
---|---|
SPacketPlayerListItem.Action |
getAction() |
java.util.List<SPacketPlayerListItem.AddPlayerData> |
getEntries() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
java.lang.String |
toString() |
void |
writePacketData(PacketBuffer buf) |
public SPacketPlayerListItem()
public SPacketPlayerListItem(SPacketPlayerListItem.Action actionIn, EntityPlayerMP... playersIn)
public SPacketPlayerListItem(SPacketPlayerListItem.Action actionIn, java.lang.Iterable<EntityPlayerMP> playersIn)
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.util.List<SPacketPlayerListItem.AddPlayerData> getEntries()
public SPacketPlayerListItem.Action getAction()
public java.lang.String toString()
toString
in class java.lang.Object