Package com.hypixel.hytale.protocol
Class BoolParamValue
java.lang.Object
com.hypixel.hytale.protocol.ParamValue
com.hypixel.hytale.protocol.BoolParamValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intbooleanstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic BoolParamValuedeserialize(io.netty.buffer.ByteBuf buf, int offset) booleaninthashCode()intserialize(io.netty.buffer.ByteBuf buf) static ValidationResultvalidateStructure(io.netty.buffer.ByteBuf buffer, int offset) Methods inherited from class com.hypixel.hytale.protocol.ParamValue
computeSizeWithTypeId, getTypeId, serializeWithTypeId
-
Field Details
-
NULLABLE_BIT_FIELD_SIZE
public static final int NULLABLE_BIT_FIELD_SIZE- See Also:
-
FIXED_BLOCK_SIZE
public static final int FIXED_BLOCK_SIZE- See Also:
-
VARIABLE_FIELD_COUNT
public static final int VARIABLE_FIELD_COUNT- See Also:
-
VARIABLE_BLOCK_START
public static final int VARIABLE_BLOCK_START- See Also:
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
value
public boolean value
-
-
Constructor Details
-
BoolParamValue
public BoolParamValue() -
BoolParamValue
public BoolParamValue(boolean value) -
BoolParamValue
-
-
Method Details
-
deserialize
-
computeBytesConsumed
public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
serialize
public int serialize(@Nonnull io.netty.buffer.ByteBuf buf) - Specified by:
serializein classParamValue
-
computeSize
public int computeSize()- Specified by:
computeSizein classParamValue
-
validateStructure
public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset) -
clone
-
equals
-
hashCode
public int hashCode()
-