public class LoginQueryResponseC2SPacket extends Object implements Packet<ServerLoginPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private int |
queryId |
private PacketByteBuf |
response |
| Constructor and Description |
|---|
LoginQueryResponseC2SPacket() |
LoginQueryResponseC2SPacket(int queryId,
PacketByteBuf response) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ServerLoginPacketListener serverLoginPacketListener) |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippableprivate int queryId
private PacketByteBuf response
public LoginQueryResponseC2SPacket()
@Environment(value=CLIENT)
public LoginQueryResponseC2SPacket(int queryId,
@Nullable
PacketByteBuf response)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ServerLoginPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ServerLoginPacketListener>IOExceptionpublic void apply(ServerLoginPacketListener serverLoginPacketListener)
apply in interface Packet<ServerLoginPacketListener>