public class SCustomPayloadLoginPacket extends java.lang.Object implements IPacket<IClientLoginNetHandler>, ICustomPacket<SCustomPayloadLoginPacket>
ICustomPacket.Fields| Modifier and Type | Field and Description |
|---|---|
private ResourceLocation |
channel |
private PacketBuffer |
payload |
private int |
transaction |
| Constructor and Description |
|---|
SCustomPayloadLoginPacket() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTransaction() |
void |
processPacket(IClientLoginNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorsgetDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setNameprivate int transaction
private ResourceLocation channel
private PacketBuffer payload
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface IPacket<IClientLoginNetHandler>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IClientLoginNetHandler>java.io.IOExceptionpublic void processPacket(IClientLoginNetHandler handler)
processPacket in interface IPacket<IClientLoginNetHandler>public int getTransaction()