public class CCustomPayloadLoginPacket extends java.lang.Object implements IPacket<IServerLoginNetHandler>, ICustomPacket<CCustomPayloadLoginPacket>
ICustomPacket.Fields
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
payload |
private int |
transaction |
Constructor and Description |
---|
CCustomPayloadLoginPacket() |
CCustomPayloadLoginPacket(int p_i49516_1_,
PacketBuffer p_i49516_2_) |
Modifier and Type | Method and Description |
---|---|
void |
processPacket(IServerLoginNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setName
private int transaction
private PacketBuffer payload
public CCustomPayloadLoginPacket()
public CCustomPayloadLoginPacket(int p_i49516_1_, @Nullable PacketBuffer p_i49516_2_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IServerLoginNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IServerLoginNetHandler>
java.io.IOException
public void processPacket(IServerLoginNetHandler handler)
processPacket
in interface IPacket<IServerLoginNetHandler>