public class SEnableCompressionPacket extends java.lang.Object implements IPacket<IClientLoginNetHandler>
| Modifier and Type | Field and Description |
|---|---|
private int |
compressionThreshold |
| Constructor and Description |
|---|
SEnableCompressionPacket() |
SEnableCompressionPacket(int thresholdIn) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCompressionThreshold() |
void |
processPacket(IClientLoginNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorspublic SEnableCompressionPacket()
public SEnableCompressionPacket(int thresholdIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface IPacket<IClientLoginNetHandler>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IClientLoginNetHandler>java.io.IOExceptionpublic void processPacket(IClientLoginNetHandler handler)
processPacket in interface IPacket<IClientLoginNetHandler>public int getCompressionThreshold()