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
- id
- dryGain
- modalDensity
- diffusion
- gain
- highFrequencyGain
- decayTime
- highFrequencyDecayRatio
- reflectionGain
- reflectionDelay
- lateReverbGain
- lateReverbDelay
- roomRolloffFactor
- airAbsorptionHighFrequencyGain
- limitDecayHighFrequency
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getDryGain(MemorySegment)
- getDryGain(MemorySegment, int)
- getModalDensity(MemorySegment)
- getModalDensity(MemorySegment, int)
- getDiffusion(MemorySegment)
- getDiffusion(MemorySegment, int)
- getGain(MemorySegment)
- getGain(MemorySegment, int)
- getHighFrequencyGain(MemorySegment)
- getHighFrequencyGain(MemorySegment, int)
- getDecayTime(MemorySegment)
- getDecayTime(MemorySegment, int)
- getHighFrequencyDecayRatio(MemorySegment)
- getHighFrequencyDecayRatio(MemorySegment, int)
- getReflectionGain(MemorySegment)
- getReflectionGain(MemorySegment, int)
- getReflectionDelay(MemorySegment)
- getReflectionDelay(MemorySegment, int)
- getLateReverbGain(MemorySegment)
- getLateReverbGain(MemorySegment, int)
- getLateReverbDelay(MemorySegment)
- getLateReverbDelay(MemorySegment, int)
- getRoomRolloffFactor(MemorySegment)
- getRoomRolloffFactor(MemorySegment, int)
- getAirAbsorptionHighFrequencyGain(MemorySegment)
- getAirAbsorptionHighFrequencyGain(MemorySegment, int)
- getLimitDecayHighFrequency(MemorySegment)
- getLimitDecayHighFrequency(MemorySegment, int)
- hasId(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class ReverbEffect
java.lang.Object
com.hypixel.hytale.protocol.ReverbEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatstatic final intfloatfloatfloatfloatfloatbooleanstatic final intfloatstatic final intfloatfloatfloatstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionReverbEffect(ReverbEffect other) ReverbEffect(String id, float dryGain, float modalDensity, float diffusion, float gain, float highFrequencyGain, float decayTime, float highFrequencyDecayRatio, float reflectionGain, float reflectionDelay, float lateReverbGain, float lateReverbDelay, float roomRolloffFactor, float airAbsorptionHighFrequencyGain, boolean limitDecayHighFrequency) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic floatstatic floatgetAirAbsorptionHighFrequencyGain(MemorySegment mem, int offset) static floatstatic floatgetDecayTime(MemorySegment mem, int offset) static floatstatic floatgetDiffusion(MemorySegment mem, int offset) static floatgetDryGain(MemorySegment mem) static floatgetDryGain(MemorySegment mem, int offset) static floatgetGain(MemorySegment mem) static floatgetGain(MemorySegment mem, int offset) static floatstatic floatgetHighFrequencyDecayRatio(MemorySegment mem, int offset) static floatstatic floatgetHighFrequencyGain(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static floatstatic floatgetLateReverbDelay(MemorySegment mem, int offset) static floatstatic floatgetLateReverbGain(MemorySegment mem, int offset) static booleanstatic booleangetLimitDecayHighFrequency(MemorySegment mem, int offset) static floatstatic floatgetModalDensity(MemorySegment mem, int offset) static floatstatic floatgetReflectionDelay(MemorySegment mem, int offset) static floatstatic floatgetReflectionGain(MemorySegment mem, int offset) static floatstatic floatgetRoomRolloffFactor(MemorySegment mem, int offset) inthashCode()static booleanhasId(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static ReverbEffecttoObject(MemorySegment mem) static ReverbEffecttoObject(MemorySegment mem, int offset) static ReverbEffecttoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one ReverbEffect 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
-
dryGain
public float dryGain -
modalDensity
public float modalDensity -
diffusion
public float diffusion -
gain
public float gain -
highFrequencyGain
public float highFrequencyGain -
decayTime
public float decayTime -
highFrequencyDecayRatio
public float highFrequencyDecayRatio -
reflectionGain
public float reflectionGain -
reflectionDelay
public float reflectionDelay -
lateReverbGain
public float lateReverbGain -
lateReverbDelay
public float lateReverbDelay -
roomRolloffFactor
public float roomRolloffFactor -
airAbsorptionHighFrequencyGain
public float airAbsorptionHighFrequencyGain -
limitDecayHighFrequency
public boolean limitDecayHighFrequency
-
-
Constructor Details
-
ReverbEffect
public ReverbEffect() -
ReverbEffect
public ReverbEffect(@Nullable String id, float dryGain, float modalDensity, float diffusion, float gain, float highFrequencyGain, float decayTime, float highFrequencyDecayRatio, float reflectionGain, float reflectionDelay, float lateReverbGain, float lateReverbDelay, float roomRolloffFactor, float airAbsorptionHighFrequencyGain, boolean limitDecayHighFrequency) -
ReverbEffect
-
-
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
-
getDryGain
-
getDryGain
-
getModalDensity
-
getModalDensity
-
getDiffusion
-
getDiffusion
-
getGain
-
getGain
-
getHighFrequencyGain
-
getHighFrequencyGain
-
getDecayTime
-
getDecayTime
-
getHighFrequencyDecayRatio
-
getHighFrequencyDecayRatio
-
getReflectionGain
-
getReflectionGain
-
getReflectionDelay
-
getReflectionDelay
-
getLateReverbGain
-
getLateReverbGain
-
getLateReverbDelay
-
getLateReverbDelay
-
getRoomRolloffFactor
-
getRoomRolloffFactor
-
getAirAbsorptionHighFrequencyGain
-
getAirAbsorptionHighFrequencyGain
-
getLimitDecayHighFrequency
-
getLimitDecayHighFrequency
-
hasId
-
toObject
-
toObject
-
toObject
Decodes one ReverbEffect 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
-