public class S2CLoginCustomQueryPacket
extends java.lang.Object
implements net.raphimc.netminecraft.packet.Packet
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
channel |
byte[] |
payload |
int |
queryId |
| Constructor and Description |
|---|
S2CLoginCustomQueryPacket() |
S2CLoginCustomQueryPacket(int queryId,
java.lang.String channel,
byte[] payload) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
void |
write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
public int queryId
public java.lang.String channel
public byte[] payload
public S2CLoginCustomQueryPacket()
public S2CLoginCustomQueryPacket(int queryId,
java.lang.String channel,
byte[] payload)
public void read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion)
read in interface net.raphimc.netminecraft.packet.Packetpublic void write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion)
write in interface net.raphimc.netminecraft.packet.Packet