Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getVolumeId(MemorySegment)
- getVolumeId(MemorySegment, int)
- getShapeType(MemorySegment)
- getShapeType(MemorySegment, int)
- getPosition(MemorySegment)
- getPosition(MemorySegment, int)
- getDimensions(MemorySegment)
- getDimensions(MemorySegment, int)
- getColor(MemorySegment)
- getColor(MemorySegment, int)
- getOpacity(MemorySegment)
- getOpacity(MemorySegment, int)
- getName(MemorySegment)
- getName(MemorySegment, int)
- getGroupId(MemorySegment)
- getGroupId(MemorySegment, int)
- getGroupColor(MemorySegment)
- getGroupColor(MemorySegment, int)
- getEffectAssetRef(MemorySegment)
- getEffectAssetRef(MemorySegment, int)
- getTargetTypes(MemorySegment)
- getTargetTypes(MemorySegment, int)
- getKeepLoaded(MemorySegment)
- getKeepLoaded(MemorySegment, int)
- getCancelDelayedOnExit(MemorySegment)
- getCancelDelayedOnExit(MemorySegment, int)
- getCooldown(MemorySegment)
- getCooldown(MemorySegment, int)
- getCooldownMode(MemorySegment)
- getCooldownMode(MemorySegment, int)
- getActivationDelay(MemorySegment)
- getActivationDelay(MemorySegment, int)
- getConditionTiming(MemorySegment)
- getConditionTiming(MemorySegment, int)
- getRotation(MemorySegment)
- getRotation(MemorySegment, int)
- hasName(MemorySegment, int)
- hasGroupId(MemorySegment, int)
- hasEffectAssetRef(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class TriggerVolumeDisplayEntry
java.lang.Object
com.hypixel.hytale.protocol.packets.player.TriggerVolumeDisplayEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatbooleanorg.joml.Vector3fcfloatbyteorg.joml.Vector3fcstatic final intintbooleanstatic final intstatic final intfloatorg.joml.Vector3fcorg.joml.Vector3fcbytestatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionTriggerVolumeDisplayEntry(String volumeId, TriggerVolumeShapeType shapeType, org.joml.Vector3fc position, org.joml.Vector3fc dimensions, org.joml.Vector3fc color, float opacity, String name, String groupId, int groupColor, String effectAssetRef, byte targetTypes, boolean keepLoaded, boolean cancelDelayedOnExit, float cooldown, byte cooldownMode, float activationDelay, TriggerVolumeConditionTiming conditionTiming, org.joml.Vector3fc rotation) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic floatstatic floatgetActivationDelay(MemorySegment mem, int offset) static booleanstatic booleangetCancelDelayedOnExit(MemorySegment mem, int offset) static org.joml.Vector3fcgetColor(MemorySegment mem) static org.joml.Vector3fcgetColor(MemorySegment mem, int offset) static TriggerVolumeConditionTimingstatic TriggerVolumeConditionTiminggetConditionTiming(MemorySegment mem, int offset) static floatgetCooldown(MemorySegment mem) static floatgetCooldown(MemorySegment mem, int offset) static bytestatic bytegetCooldownMode(MemorySegment mem, int offset) static org.joml.Vector3fcstatic org.joml.Vector3fcgetDimensions(MemorySegment mem, int offset) static Stringstatic StringgetEffectAssetRef(MemorySegment mem, int offset) static intstatic intgetGroupColor(MemorySegment mem, int offset) static StringgetGroupId(MemorySegment mem) static StringgetGroupId(MemorySegment mem, int offset) static booleanstatic booleangetKeepLoaded(MemorySegment mem, int offset) static StringgetName(MemorySegment mem) static StringgetName(MemorySegment mem, int offset) static floatgetOpacity(MemorySegment mem) static floatgetOpacity(MemorySegment mem, int offset) static org.joml.Vector3fcgetPosition(MemorySegment mem) static org.joml.Vector3fcgetPosition(MemorySegment mem, int offset) static org.joml.Vector3fcgetRotation(MemorySegment mem) static org.joml.Vector3fcgetRotation(MemorySegment mem, int offset) static TriggerVolumeShapeTypestatic TriggerVolumeShapeTypegetShapeType(MemorySegment mem, int offset) static bytestatic bytegetTargetTypes(MemorySegment mem, int offset) static StringgetVolumeId(MemorySegment mem) static StringgetVolumeId(MemorySegment mem, int offset) static booleanhasEffectAssetRef(MemorySegment mem, int offset) static booleanhasGroupId(MemorySegment mem, int offset) inthashCode()static booleanhasName(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static TriggerVolumeDisplayEntrytoObject(MemorySegment mem) static TriggerVolumeDisplayEntrytoObject(MemorySegment mem, int offset) static TriggerVolumeDisplayEntrytoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one TriggerVolumeDisplayEntry 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:
-
volumeId
-
shapeType
-
position
@Nonnull public org.joml.Vector3fc position -
dimensions
@Nonnull public org.joml.Vector3fc dimensions -
color
@Nonnull public org.joml.Vector3fc color -
opacity
public float opacity -
name
-
groupId
-
groupColor
public int groupColor -
effectAssetRef
-
targetTypes
public byte targetTypes -
keepLoaded
public boolean keepLoaded -
cancelDelayedOnExit
public boolean cancelDelayedOnExit -
cooldown
public float cooldown -
cooldownMode
public byte cooldownMode -
activationDelay
public float activationDelay -
conditionTiming
-
rotation
@Nonnull public org.joml.Vector3fc rotation
-
-
Constructor Details
-
TriggerVolumeDisplayEntry
public TriggerVolumeDisplayEntry() -
TriggerVolumeDisplayEntry
public TriggerVolumeDisplayEntry(@Nonnull String volumeId, @Nonnull TriggerVolumeShapeType shapeType, @Nonnull org.joml.Vector3fc position, @Nonnull org.joml.Vector3fc dimensions, @Nonnull org.joml.Vector3fc color, float opacity, @Nullable String name, @Nullable String groupId, int groupColor, @Nullable String effectAssetRef, byte targetTypes, boolean keepLoaded, boolean cancelDelayedOnExit, float cooldown, byte cooldownMode, float activationDelay, @Nonnull TriggerVolumeConditionTiming conditionTiming, @Nonnull org.joml.Vector3fc rotation) -
TriggerVolumeDisplayEntry
-
-
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. -
getVolumeId
-
getVolumeId
-
getShapeType
-
getShapeType
-
getPosition
-
getPosition
-
getDimensions
-
getDimensions
-
getColor
-
getColor
-
getOpacity
-
getOpacity
-
getName
-
getName
-
getGroupId
-
getGroupId
-
getGroupColor
-
getGroupColor
-
getEffectAssetRef
-
getEffectAssetRef
-
getTargetTypes
-
getTargetTypes
-
getKeepLoaded
-
getKeepLoaded
-
getCancelDelayedOnExit
-
getCancelDelayedOnExit
-
getCooldown
-
getCooldown
-
getCooldownMode
-
getCooldownMode
-
getActivationDelay
-
getActivationDelay
-
getConditionTiming
-
getConditionTiming
-
getRotation
-
getRotation
-
hasName
-
hasGroupId
-
hasEffectAssetRef
-
toObject
-
toObject
-
toObject
public static TriggerVolumeDisplayEntry toObject(MemorySegment mem, int offset, @Nullable ReadCursor cursor) Decodes one TriggerVolumeDisplayEntry 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
-