Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getFromContainerIndices(MemorySegment)
- getFromContainerIndices(MemorySegment, int)
- getToContainerIndices(MemorySegment)
- getToContainerIndices(MemorySegment, int)
- getExitAt(MemorySegment)
- getExitAt(MemorySegment, int)
- getAlign(MemorySegment)
- getAlign(MemorySegment, int)
- getAlignMarkerName(MemorySegment)
- getAlignMarkerName(MemorySegment, int)
- getFadeOutDuration(MemorySegment)
- getFadeOutDuration(MemorySegment, int)
- getFadeOutCurve(MemorySegment)
- getFadeOutCurve(MemorySegment, int)
- getFadeOutDelay(MemorySegment)
- getFadeOutDelay(MemorySegment, int)
- getFadeInDuration(MemorySegment)
- getFadeInDuration(MemorySegment, int)
- getFadeInCurve(MemorySegment)
- getFadeInCurve(MemorySegment, int)
- getPlayPostExit(MemorySegment)
- getPlayPostExit(MemorySegment, int)
- getPostEvent(MemorySegment)
- getPostEvent(MemorySegment, int)
- getPriority(MemorySegment)
- getPriority(MemorySegment, int)
- getSpecificity(MemorySegment)
- getSpecificity(MemorySegment, int)
- hasFadeOutDuration(MemorySegment, int)
- hasFadeOutDelay(MemorySegment, int)
- hasFadeInDuration(MemorySegment, int)
- hasId(MemorySegment, int)
- hasFromContainerIndices(MemorySegment, int)
- hasToContainerIndices(MemorySegment, int)
- hasExitAt(MemorySegment, int)
- hasAlignMarkerName(MemorySegment, int)
- hasPostEvent(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class MusicTransition
java.lang.Object
com.hypixel.hytale.protocol.MusicTransition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intint[]static final intstatic final intbooleanintintint[]static final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionMusicTransition(MusicTransition other) MusicTransition(String id, int[] fromContainerIndices, int[] toContainerIndices, MusicSync exitAt, DestinationAlign align, String alignMarkerName, BarBeatDuration fadeOutDuration, FadeCurve fadeOutCurve, BarBeatDuration fadeOutDelay, BarBeatDuration fadeInDuration, FadeCurve fadeInCurve, boolean playPostExit, String postEvent, int priority, int specificity) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic DestinationAligngetAlign(MemorySegment mem) static DestinationAligngetAlign(MemorySegment mem, int offset) static Stringstatic StringgetAlignMarkerName(MemorySegment mem, int offset) static MusicSyncgetExitAt(MemorySegment mem) static MusicSyncgetExitAt(MemorySegment mem, int offset) static FadeCurvestatic FadeCurvegetFadeInCurve(MemorySegment mem, int offset) static BarBeatDurationstatic BarBeatDurationgetFadeInDuration(MemorySegment mem, int offset) static FadeCurvestatic FadeCurvegetFadeOutCurve(MemorySegment mem, int offset) static BarBeatDurationstatic BarBeatDurationgetFadeOutDelay(MemorySegment mem, int offset) static BarBeatDurationstatic BarBeatDurationgetFadeOutDuration(MemorySegment mem, int offset) static int[]static int[]getFromContainerIndices(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static booleanstatic booleangetPlayPostExit(MemorySegment mem, int offset) static Stringstatic StringgetPostEvent(MemorySegment mem, int offset) static intgetPriority(MemorySegment mem) static intgetPriority(MemorySegment mem, int offset) static intstatic intgetSpecificity(MemorySegment mem, int offset) static int[]static int[]getToContainerIndices(MemorySegment mem, int offset) static booleanhasAlignMarkerName(MemorySegment mem, int offset) static booleanhasExitAt(MemorySegment mem, int offset) static booleanhasFadeInDuration(MemorySegment mem, int offset) static booleanhasFadeOutDelay(MemorySegment mem, int offset) static booleanhasFadeOutDuration(MemorySegment mem, int offset) static booleanhasFromContainerIndices(MemorySegment mem, int offset) inthashCode()static booleanhasId(MemorySegment mem, int offset) static booleanhasPostEvent(MemorySegment mem, int offset) static booleanhasToContainerIndices(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static MusicTransitiontoObject(MemorySegment mem) static MusicTransitiontoObject(MemorySegment mem, int offset) static MusicTransitiontoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one MusicTransition 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:
-
id
-
fromContainerIndices
@Nullable public int[] fromContainerIndices -
toContainerIndices
@Nullable public int[] toContainerIndices -
exitAt
-
align
-
alignMarkerName
-
fadeOutDuration
-
fadeOutCurve
-
fadeOutDelay
-
fadeInDuration
-
fadeInCurve
-
playPostExit
public boolean playPostExit -
postEvent
-
priority
public int priority -
specificity
public int specificity
-
-
Constructor Details
-
MusicTransition
public MusicTransition() -
MusicTransition
public MusicTransition(@Nullable String id, @Nullable int[] fromContainerIndices, @Nullable int[] toContainerIndices, @Nullable MusicSync exitAt, @Nonnull DestinationAlign align, @Nullable String alignMarkerName, @Nullable BarBeatDuration fadeOutDuration, @Nonnull FadeCurve fadeOutCurve, @Nullable BarBeatDuration fadeOutDelay, @Nullable BarBeatDuration fadeInDuration, @Nonnull FadeCurve fadeInCurve, boolean playPostExit, @Nullable String postEvent, int priority, int specificity) -
MusicTransition
-
-
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. -
getId
-
getId
-
getFromContainerIndices
-
getFromContainerIndices
-
getToContainerIndices
-
getToContainerIndices
-
getExitAt
-
getExitAt
-
getAlign
-
getAlign
-
getAlignMarkerName
-
getAlignMarkerName
-
getFadeOutDuration
-
getFadeOutDuration
-
getFadeOutCurve
-
getFadeOutCurve
-
getFadeOutDelay
-
getFadeOutDelay
-
getFadeInDuration
-
getFadeInDuration
-
getFadeInCurve
-
getFadeInCurve
-
getPlayPostExit
-
getPlayPostExit
-
getPostEvent
-
getPostEvent
-
getPriority
-
getPriority
-
getSpecificity
-
getSpecificity
-
hasFadeOutDuration
-
hasFadeOutDelay
-
hasFadeInDuration
-
hasId
-
hasFromContainerIndices
-
hasToContainerIndices
-
hasExitAt
-
hasAlignMarkerName
-
hasPostEvent
-
toObject
-
toObject
-
toObject
Decodes one MusicTransition 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
-