Class ChangeBlockAction
java.lang.Object
com.hypixel.hytale.protocol.packets.window.WindowAction
com.hypixel.hytale.protocol.packets.window.ChangeBlockAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic ChangeBlockActiondeserialize(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.packets.window.WindowAction
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:
-
down
public boolean down
-
-
Constructor Details
-
ChangeBlockAction
public ChangeBlockAction() -
ChangeBlockAction
public ChangeBlockAction(boolean down) -
ChangeBlockAction
-
-
Method Details
-
deserialize
@Nonnull public static ChangeBlockAction deserialize(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
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 classWindowAction
-
computeSize
public int computeSize()- Specified by:
computeSizein classWindowAction
-
validateStructure
public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset) -
clone
-
equals
-
hashCode
public int hashCode()
-