Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- NULLABLE_BIT_FIELD_SIZE
- FIXED_BLOCK_SIZE
- VARIABLE_FIELD_COUNT
- VARIABLE_BLOCK_START
- MAX_SIZE
- entityBottomTint
- entityTopTint
- entityAnimationId
- particles
- firstPersonParticles
- screenEffect
- horizontalSpeedMultiplier
- soundEventIndexLocal
- soundEventIndexWorld
- modelVFXId
- movementEffects
- mouseSensitivityAdjustmentTarget
- mouseSensitivityAdjustmentDuration
- abilityEffects
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getEntityBottomTint(MemorySegment)
- getEntityBottomTint(MemorySegment, int)
- getEntityTopTint(MemorySegment)
- getEntityTopTint(MemorySegment, int)
- getEntityAnimationId(MemorySegment)
- getEntityAnimationId(MemorySegment, int)
- getParticles(MemorySegment)
- getParticles(MemorySegment, int)
- getFirstPersonParticles(MemorySegment)
- getFirstPersonParticles(MemorySegment, int)
- getScreenEffect(MemorySegment)
- getScreenEffect(MemorySegment, int)
- getHorizontalSpeedMultiplier(MemorySegment)
- getHorizontalSpeedMultiplier(MemorySegment, int)
- getSoundEventIndexLocal(MemorySegment)
- getSoundEventIndexLocal(MemorySegment, int)
- getSoundEventIndexWorld(MemorySegment)
- getSoundEventIndexWorld(MemorySegment, int)
- getModelVFXId(MemorySegment)
- getModelVFXId(MemorySegment, int)
- getMovementEffects(MemorySegment)
- getMovementEffects(MemorySegment, int)
- getMouseSensitivityAdjustmentTarget(MemorySegment)
- getMouseSensitivityAdjustmentTarget(MemorySegment, int)
- getMouseSensitivityAdjustmentDuration(MemorySegment)
- getMouseSensitivityAdjustmentDuration(MemorySegment, int)
- getAbilityEffects(MemorySegment)
- getAbilityEffects(MemorySegment, int)
- hasEntityBottomTint(MemorySegment, int)
- hasEntityTopTint(MemorySegment, int)
- hasMovementEffects(MemorySegment, int)
- hasEntityAnimationId(MemorySegment, int)
- hasParticles(MemorySegment, int)
- hasFirstPersonParticles(MemorySegment, int)
- hasScreenEffect(MemorySegment, int)
- hasModelVFXId(MemorySegment, int)
- hasAbilityEffects(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class ApplicationEffects
java.lang.Object
com.hypixel.hytale.protocol.ApplicationEffects
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intfloatstatic final intfloatfloatstatic final intintintstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionApplicationEffects(Color entityBottomTint, Color entityTopTint, String entityAnimationId, ModelParticle[] particles, ModelParticle[] firstPersonParticles, String screenEffect, float horizontalSpeedMultiplier, int soundEventIndexLocal, int soundEventIndexWorld, String modelVFXId, MovementEffects movementEffects, float mouseSensitivityAdjustmentTarget, float mouseSensitivityAdjustmentDuration, AbilityEffects abilityEffects) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic AbilityEffectsstatic AbilityEffectsgetAbilityEffects(MemorySegment mem, int offset) static Stringstatic StringgetEntityAnimationId(MemorySegment mem, int offset) static Colorstatic ColorgetEntityBottomTint(MemorySegment mem, int offset) static Colorstatic ColorgetEntityTopTint(MemorySegment mem, int offset) static ModelParticle[]static ModelParticle[]getFirstPersonParticles(MemorySegment mem, int offset) static floatstatic floatgetHorizontalSpeedMultiplier(MemorySegment mem, int offset) static Stringstatic StringgetModelVFXId(MemorySegment mem, int offset) static floatstatic floatgetMouseSensitivityAdjustmentDuration(MemorySegment mem, int offset) static floatstatic floatgetMouseSensitivityAdjustmentTarget(MemorySegment mem, int offset) static MovementEffectsstatic MovementEffectsgetMovementEffects(MemorySegment mem, int offset) static ModelParticle[]static ModelParticle[]getParticles(MemorySegment mem, int offset) static Stringstatic StringgetScreenEffect(MemorySegment mem, int offset) static intstatic intgetSoundEventIndexLocal(MemorySegment mem, int offset) static intstatic intgetSoundEventIndexWorld(MemorySegment mem, int offset) static booleanhasAbilityEffects(MemorySegment mem, int offset) static booleanhasEntityAnimationId(MemorySegment mem, int offset) static booleanhasEntityBottomTint(MemorySegment mem, int offset) static booleanhasEntityTopTint(MemorySegment mem, int offset) static booleanhasFirstPersonParticles(MemorySegment mem, int offset) inthashCode()static booleanhasModelVFXId(MemorySegment mem, int offset) static booleanhasMovementEffects(MemorySegment mem, int offset) static booleanhasParticles(MemorySegment mem, int offset) static booleanhasScreenEffect(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static ApplicationEffectstoObject(MemorySegment mem) static ApplicationEffectstoObject(MemorySegment mem, int offset) static ApplicationEffectstoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one ApplicationEffects 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:
-
entityBottomTint
-
entityTopTint
-
entityAnimationId
-
particles
-
firstPersonParticles
-
screenEffect
-
horizontalSpeedMultiplier
public float horizontalSpeedMultiplier -
soundEventIndexLocal
public int soundEventIndexLocal -
soundEventIndexWorld
public int soundEventIndexWorld -
modelVFXId
-
movementEffects
-
mouseSensitivityAdjustmentTarget
public float mouseSensitivityAdjustmentTarget -
mouseSensitivityAdjustmentDuration
public float mouseSensitivityAdjustmentDuration -
abilityEffects
-
-
Constructor Details
-
ApplicationEffects
public ApplicationEffects() -
ApplicationEffects
public ApplicationEffects(@Nullable Color entityBottomTint, @Nullable Color entityTopTint, @Nullable String entityAnimationId, @Nullable ModelParticle[] particles, @Nullable ModelParticle[] firstPersonParticles, @Nullable String screenEffect, float horizontalSpeedMultiplier, int soundEventIndexLocal, int soundEventIndexWorld, @Nullable String modelVFXId, @Nullable MovementEffects movementEffects, float mouseSensitivityAdjustmentTarget, float mouseSensitivityAdjustmentDuration, @Nullable AbilityEffects abilityEffects) -
ApplicationEffects
-
-
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. -
getEntityBottomTint
-
getEntityBottomTint
-
getEntityTopTint
-
getEntityTopTint
-
getEntityAnimationId
-
getEntityAnimationId
-
getParticles
-
getParticles
-
getFirstPersonParticles
-
getFirstPersonParticles
-
getScreenEffect
-
getScreenEffect
-
getHorizontalSpeedMultiplier
-
getHorizontalSpeedMultiplier
-
getSoundEventIndexLocal
-
getSoundEventIndexLocal
-
getSoundEventIndexWorld
-
getSoundEventIndexWorld
-
getModelVFXId
-
getModelVFXId
-
getMovementEffects
-
getMovementEffects
-
getMouseSensitivityAdjustmentTarget
-
getMouseSensitivityAdjustmentTarget
-
getMouseSensitivityAdjustmentDuration
-
getMouseSensitivityAdjustmentDuration
-
getAbilityEffects
-
getAbilityEffects
-
hasEntityBottomTint
-
hasEntityTopTint
-
hasMovementEffects
-
hasEntityAnimationId
-
hasParticles
-
hasFirstPersonParticles
-
hasScreenEffect
-
hasModelVFXId
-
hasAbilityEffects
-
toObject
-
toObject
-
toObject
public static ApplicationEffects toObject(MemorySegment mem, int offset, @Nullable ReadCursor cursor) Decodes one ApplicationEffects 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
-