public class SPacketEnableCompression extends java.lang.Object implements Packet<INetHandlerLoginClient>
Constructor and Description |
---|
SPacketEnableCompression() |
SPacketEnableCompression(int thresholdIn) |
Modifier and Type | Method and Description |
---|---|
int |
getCompressionThreshold() |
void |
processPacket(INetHandlerLoginClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketEnableCompression()
public SPacketEnableCompression(int thresholdIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void processPacket(INetHandlerLoginClient handler)
processPacket
in interface Packet<INetHandlerLoginClient>
public int getCompressionThreshold()