public class LoginQueryRequestS2CPacket extends Object implements Packet<ClientLoginPacketListener>
Modifier and Type | Field and Description |
---|---|
private Identifier |
channel |
private PacketByteBuf |
payload |
private int |
queryId |
Constructor and Description |
---|
LoginQueryRequestS2CPacket() |
Modifier and Type | Method and Description |
---|---|
void |
apply(ClientLoginPacketListener clientLoginPacketListener) |
int |
getQueryId() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
private int queryId
private Identifier channel
private PacketByteBuf payload
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ClientLoginPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ClientLoginPacketListener>
IOException
public void apply(ClientLoginPacketListener clientLoginPacketListener)
apply
in interface Packet<ClientLoginPacketListener>
@Environment(value=CLIENT) public int getQueryId()