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
Method deserialize.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
computeBytesConsumed
static
int
computeBytesConsumed
(@Nonnull final ByteBuf buf, final int offset)
Method computeBytesConsumed.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
serialize
public
void
serialize
(@Nonnull final ByteBuf buf)
Method serialize.
- Parameters:
@Nonnull final ByteBufbuf
computeSize
public
int
computeSize
()
Method computeSize.
validateStructure
Method validateStructure.
- Parameters:
@Nonnull final ByteBufbufferfinal intoffset
equals
public
boolean
equals
(final Object obj)
Method equals.
- Parameters:
final Objectobj
hashCode
public
int
hashCode
()
Method hashCode.