Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getLowGain(MemorySegment)
- getLowGain(MemorySegment, int)
- getLowCutOff(MemorySegment)
- getLowCutOff(MemorySegment, int)
- getLowMidGain(MemorySegment)
- getLowMidGain(MemorySegment, int)
- getLowMidCenter(MemorySegment)
- getLowMidCenter(MemorySegment, int)
- getLowMidWidth(MemorySegment)
- getLowMidWidth(MemorySegment, int)
- getHighMidGain(MemorySegment)
- getHighMidGain(MemorySegment, int)
- getHighMidCenter(MemorySegment)
- getHighMidCenter(MemorySegment, int)
- getHighMidWidth(MemorySegment)
- getHighMidWidth(MemorySegment, int)
- getHighGain(MemorySegment)
- getHighGain(MemorySegment, int)
- getHighCutOff(MemorySegment)
- getHighCutOff(MemorySegment, int)
- hasId(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class EqualizerEffect
java.lang.Object
com.hypixel.hytale.protocol.EqualizerEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intfloatfloatfloatfloatfloatfloatfloatfloatfloatfloatstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionEqualizerEffect(EqualizerEffect other) EqualizerEffect(String id, float lowGain, float lowCutOff, float lowMidGain, float lowMidCenter, float lowMidWidth, float highMidGain, float highMidCenter, float highMidWidth, float highGain, float highCutOff) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic floatstatic floatgetHighCutOff(MemorySegment mem, int offset) static floatgetHighGain(MemorySegment mem) static floatgetHighGain(MemorySegment mem, int offset) static floatstatic floatgetHighMidCenter(MemorySegment mem, int offset) static floatstatic floatgetHighMidGain(MemorySegment mem, int offset) static floatstatic floatgetHighMidWidth(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static floatstatic floatgetLowCutOff(MemorySegment mem, int offset) static floatgetLowGain(MemorySegment mem) static floatgetLowGain(MemorySegment mem, int offset) static floatstatic floatgetLowMidCenter(MemorySegment mem, int offset) static floatstatic floatgetLowMidGain(MemorySegment mem, int offset) static floatstatic floatgetLowMidWidth(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 EqualizerEffecttoObject(MemorySegment mem) static EqualizerEffecttoObject(MemorySegment mem, int offset) static EqualizerEffecttoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one EqualizerEffect 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
-
lowGain
public float lowGain -
lowCutOff
public float lowCutOff -
lowMidGain
public float lowMidGain -
lowMidCenter
public float lowMidCenter -
lowMidWidth
public float lowMidWidth -
highMidGain
public float highMidGain -
highMidCenter
public float highMidCenter -
highMidWidth
public float highMidWidth -
highGain
public float highGain -
highCutOff
public float highCutOff
-
-
Constructor Details
-
EqualizerEffect
public EqualizerEffect() -
EqualizerEffect
public EqualizerEffect(@Nullable String id, float lowGain, float lowCutOff, float lowMidGain, float lowMidCenter, float lowMidWidth, float highMidGain, float highMidCenter, float highMidWidth, float highGain, float highCutOff) -
EqualizerEffect
-
-
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
-
getLowGain
-
getLowGain
-
getLowCutOff
-
getLowCutOff
-
getLowMidGain
-
getLowMidGain
-
getLowMidCenter
-
getLowMidCenter
-
getLowMidWidth
-
getLowMidWidth
-
getHighMidGain
-
getHighMidGain
-
getHighMidCenter
-
getHighMidCenter
-
getHighMidWidth
-
getHighMidWidth
-
getHighGain
-
getHighGain
-
getHighCutOff
-
getHighCutOff
-
hasId
-
toObject
-
toObject
-
toObject
Decodes one EqualizerEffect 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
-