Class WrapperLoginServerSetCompression
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.login.clientbound.WrapperLoginServerSetCompression
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperLoginServerSetCompression
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the value of field 'compressionThreshold'void
setCompressionThreshold
(int value) Sets the value of field 'compressionThreshold'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPE
-
-
Constructor Details
-
WrapperLoginServerSetCompression
public WrapperLoginServerSetCompression() -
WrapperLoginServerSetCompression
public WrapperLoginServerSetCompression(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getCompressionThreshold
public int getCompressionThreshold()Retrieves the value of field 'compressionThreshold'- Returns:
- 'compressionThreshold'
-
setCompressionThreshold
public void setCompressionThreshold(int value) Sets the value of field 'compressionThreshold'- Parameters:
value
- New value for field 'compressionThreshold'
-