public class S2CLoginCompressionPacket
extends java.lang.Object
implements net.raphimc.netminecraft.packet.Packet
| Modifier and Type | Field | Description |
|---|---|---|
int |
compressionThreshold |
| Constructor | Description |
|---|---|
S2CLoginCompressionPacket() |
|
S2CLoginCompressionPacket(int compressionThreshold) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
read(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
|
void |
write(io.netty.buffer.ByteBuf byteBuf,
int protocolVersion) |
public S2CLoginCompressionPacket()
public S2CLoginCompressionPacket(int compressionThreshold)
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