Animation

public class Animation

Class Animation. Provides animation functionality for the Hytale server.

java.lang.Object > Animation

Field Summary

name

public String name

Field name.

speed

public float speed

Field speed.

blendingDuration

public float blendingDuration

Field blendingDuration.

looping

public boolean looping

Field looping.

weight

public float weight

Field weight.

footstepIntervals

public int[] footstepIntervals

Field footstepIntervals.

soundEventIndex

public int soundEventIndex

Field soundEventIndex.

passiveLoopCount

public int passiveLoopCount

Field passiveLoopCount.

obj

final Animation obj

Field obj.

nullBits

final byte nullBits

Field nullBits.

varPos0

final int varPos0

Field varPos0.

nameLen

final int nameLen

Field nameLen.

varPos2

final int varPos2

Field varPos2.

footstepIntervalsCount

final int footstepIntervalsCount

Field footstepIntervalsCount.

varIntLen

final int varIntLen

Field varIntLen.

fieldOffset0

final int fieldOffset0

Field fieldOffset0.

sl

final int sl

Field sl.

fieldOffset2

final int fieldOffset2

Field fieldOffset2.

arrLen

final int arrLen

Field arrLen.

startPos

final int startPos

Field startPos.

nameOffsetSlot

final int nameOffsetSlot

Field nameOffsetSlot.

footstepIntervalsOffsetSlot

final int footstepIntervalsOffsetSlot

Field footstepIntervalsOffsetSlot.

varBlockStart

final int varBlockStart

Field varBlockStart.

nameOffset

final int nameOffset

Field nameOffset.

footstepIntervalsOffset

final int footstepIntervalsOffset

Field footstepIntervalsOffset.

copy

final Animation copy

Field copy.

Method Detail

Animation

public public Animation ()

Method Animation.

deserialize

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

Method clone.

equals

public boolean equals (final Object obj)

Method equals.

Parameters:
final Object obj

hashCode

public int hashCode ()

Method hashCode.