BuilderToolOnUseInteraction

public class BuilderToolOnUseInteraction implements Packet

Class BuilderToolOnUseInteraction. Provides buildertoolonuseinteraction functionality for the Hytale server.

java.lang.Object > BuilderToolOnUseInteraction

Field Summary

type

public InteractionType type

Field type.

x

public int x

Field x.

y

public int y

Field y.

z

public int z

Field z.

offsetForPaintModeX

public int offsetForPaintModeX

Field offsetForPaintModeX.

offsetForPaintModeY

public int offsetForPaintModeY

Field offsetForPaintModeY.

offsetForPaintModeZ

public int offsetForPaintModeZ

Field offsetForPaintModeZ.

isAltPlaySculptBrushModDown

public boolean isAltPlaySculptBrushModDown

Field isAltPlaySculptBrushModDown.

isHoldDownInteraction

public boolean isHoldDownInteraction

Field isHoldDownInteraction.

isDoServerRaytraceForPosition

public boolean isDoServerRaytraceForPosition

Field isDoServerRaytraceForPosition.

isShowEditNotifications

public boolean isShowEditNotifications

Field isShowEditNotifications.

maxLengthToolIgnoreHistory

public int maxLengthToolIgnoreHistory

Field maxLengthToolIgnoreHistory.

raycastOriginX

public float raycastOriginX

Field raycastOriginX.

raycastOriginY

public float raycastOriginY

Field raycastOriginY.

raycastOriginZ

public float raycastOriginZ

Field raycastOriginZ.

raycastDirectionX

public float raycastDirectionX

Field raycastDirectionX.

raycastDirectionY

public float raycastDirectionY

Field raycastDirectionY.

raycastDirectionZ

public float raycastDirectionZ

Field raycastDirectionZ.

obj

final BuilderToolOnUseInteraction obj

Field obj.

copy

final BuilderToolOnUseInteraction copy

Field copy.

Method Detail

getId

public int getId ()

Method getId.

BuilderToolOnUseInteraction

public public BuilderToolOnUseInteraction ()

Method BuilderToolOnUseInteraction.

deserialize

static BuilderToolOnUseInteraction 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 BuilderToolOnUseInteraction clone ()

Method clone.

equals

public boolean equals (final Object obj)

Method equals.

Parameters:
final Object obj

hashCode

public int hashCode ()

Method hashCode.