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)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
java.lang.String |
toString() |
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
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.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerPlayClient>java.io.IOExceptionpublic 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