Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getType(MemorySegment)
- getType(MemorySegment, int)
- getStartAt(MemorySegment)
- getStartAt(MemorySegment, int)
- getEndAt(MemorySegment)
- getEndAt(MemorySegment, int)
- getStartScale(MemorySegment)
- getStartScale(MemorySegment, int)
- getEndScale(MemorySegment)
- getEndScale(MemorySegment, int)
- getPositionOffset(MemorySegment)
- getPositionOffset(MemorySegment, int)
- getStartOpacity(MemorySegment)
- getStartOpacity(MemorySegment, int)
- getEndOpacity(MemorySegment)
- getEndOpacity(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class CombatTextEntityUIComponentAnimationEvent
java.lang.Object
com.hypixel.hytale.protocol.CombatTextEntityUIComponentAnimationEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatstatic final intstatic final intstatic final intorg.joml.Vector2fcfloatfloatfloatstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionCombatTextEntityUIComponentAnimationEvent(CombatTextEntityUIAnimationEventType type, float startAt, float endAt, float startScale, float endScale, org.joml.Vector2fc positionOffset, float startOpacity, float endOpacity) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic floatgetEndAt(MemorySegment mem) static floatgetEndAt(MemorySegment mem, int offset) static floatstatic floatgetEndOpacity(MemorySegment mem, int offset) static floatgetEndScale(MemorySegment mem) static floatgetEndScale(MemorySegment mem, int offset) static org.joml.Vector2fcstatic org.joml.Vector2fcgetPositionOffset(MemorySegment mem, int offset) static floatgetStartAt(MemorySegment mem) static floatgetStartAt(MemorySegment mem, int offset) static floatstatic floatgetStartOpacity(MemorySegment mem, int offset) static floatstatic floatgetStartScale(MemorySegment mem, int offset) getType(MemorySegment mem) getType(MemorySegment mem, int offset) inthashCode()static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) toObject(MemorySegment mem) toObject(MemorySegment mem, int offset) toObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one CombatTextEntityUIComponentAnimationEvent and reports the end of its encoding through the cursor.
-
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:
-
type
-
startAt
public float startAt -
endAt
public float endAt -
startScale
public float startScale -
endScale
public float endScale -
positionOffset
@Nonnull public org.joml.Vector2fc positionOffset -
startOpacity
public float startOpacity -
endOpacity
public float endOpacity
-
-
Constructor Details
-
CombatTextEntityUIComponentAnimationEvent
public CombatTextEntityUIComponentAnimationEvent() -
CombatTextEntityUIComponentAnimationEvent
public CombatTextEntityUIComponentAnimationEvent(@Nonnull CombatTextEntityUIAnimationEventType type, float startAt, float endAt, float startScale, float endScale, @Nonnull org.joml.Vector2fc positionOffset, float startOpacity, float endOpacity) -
CombatTextEntityUIComponentAnimationEvent
public CombatTextEntityUIComponentAnimationEvent(@Nonnull CombatTextEntityUIComponentAnimationEvent other)
-
-
Method Details
-
requireBounds
Checks that the fixed block fits. The per-field getters read without their own bound check, so call this once before reading fields out of an untrusted segment. -
getType
-
getType
-
getStartAt
-
getStartAt
-
getEndAt
-
getEndAt
-
getStartScale
-
getStartScale
-
getEndScale
-
getEndScale
-
getPositionOffset
-
getPositionOffset
-
getStartOpacity
-
getStartOpacity
-
getEndOpacity
-
getEndOpacity
-
toObject
-
toObject
-
toObject
public static CombatTextEntityUIComponentAnimationEvent toObject(MemorySegment mem, int offset, @Nullable ReadCursor cursor) Decodes one CombatTextEntityUIComponentAnimationEvent and reports the end of its encoding through the cursor. The variable block is decoded in field order against a running position, and each offset slot must name that position, so the fields decoded are the bytes walked. -
serialize
-
computeSize
public int computeSize() -
clone
-
equals
-
hashCode
-