EditorBlocksChange

public class EditorBlocksChange implements Packet

Class EditorBlocksChange. Provides editorblockschange functionality for the Hytale server.

java.lang.Object > EditorBlocksChange

Field Summary

selection

public EditorSelection selection

Field selection.

blocksChange

public BlockChange[] blocksChange

Field blocksChange.

fluidsChange

public FluidChange[] fluidsChange

Field fluidsChange.

blocksCount

public int blocksCount

Field blocksCount.

advancedPreview

public boolean advancedPreview

Field advancedPreview.

obj

final EditorBlocksChange obj

Field obj.

nullBits

final byte nullBits

Field nullBits.

varPos0

final int varPos0

Field varPos0.

blocksChangeCount

final int blocksChangeCount

Field blocksChangeCount.

varIntLen

final int varIntLen

Field varIntLen.

varPos2

final int varPos2

Field varPos2.

fluidsChangeCount

final int fluidsChangeCount

Field fluidsChangeCount.

fieldOffset0

final int fieldOffset0

Field fieldOffset0.

arrLen

final int arrLen

Field arrLen.

fieldOffset2

final int fieldOffset2

Field fieldOffset2.

startPos

final int startPos

Field startPos.

blocksChangeOffsetSlot

final int blocksChangeOffsetSlot

Field blocksChangeOffsetSlot.

fluidsChangeOffsetSlot

final int fluidsChangeOffsetSlot

Field fluidsChangeOffsetSlot.

varBlockStart

final int varBlockStart

Field varBlockStart.

blocksChangeOffset

final int blocksChangeOffset

Field blocksChangeOffset.

fluidsChangeOffset

final int fluidsChangeOffset

Field fluidsChangeOffset.

copy

final EditorBlocksChange copy

Field copy.

Method Detail

getId

public int getId ()

Method getId.

EditorBlocksChange

public public EditorBlocksChange ()

Method EditorBlocksChange.

deserialize

static EditorBlocksChange deserialize (@Nonnull final ByteBuf buf, final int offset)

Method deserialize.

Parameters:
@Nonnull final ByteBuf buf
final int offset

computeBytesConsumed

static int computeBytesConsumed (@Nonnull final ByteBuf buf, final int offset)

Method computeBytesConsumed.

Parameters:
@Nonnull final ByteBuf buf
final int offset

serialize

public void serialize (@Nonnull final ByteBuf buf)

Method serialize.

Parameters:
@Nonnull final ByteBuf buf

computeSize

public int computeSize ()

Method computeSize.

validateStructure

static ValidationResult validateStructure (@Nonnull final ByteBuf buffer, final int offset)

Method validateStructure.

Parameters:
@Nonnull final ByteBuf buffer
final int offset

clone

public EditorBlocksChange clone ()

Method clone.

equals

public boolean equals (final Object obj)

Method equals.

Parameters:
final Object obj

hashCode

public int hashCode ()

Method hashCode.