Package dev.inputbooster.api.events
Enum Class InputBoosterEvent.Type
- All Implemented Interfaces:
Serializable,Comparable<InputBoosterEvent.Type>,Constable
- Enclosing class:
InputBoosterEvent
All event types fired by InputBooster.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionintValue() = current CPSAny other input action.boolValue() = new active stateboolValue() = true for AUTOintValue() = new HzstringValue() = profile namestringValue() = profile name -
Method Summary
Modifier and TypeMethodDescriptionstatic InputBoosterEvent.TypeReturns the enum constant of this class with the specified name.static InputBoosterEvent.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTACK_QUEUED
-
ATTACK_DRAINED
-
USE_QUEUED
-
SPRINT_QUEUED
-
JUMP_QUEUED
-
INPUT_QUEUED
Any other input action.InputBoosterEvent.actionName()identifies it. -
POLL_RATE_CHANGED
intValue() = new Hz -
MODE_CHANGED
boolValue() = true for AUTO -
BURST_MODE_STARTED
-
BURST_MODE_ENDED
-
MOD_TOGGLED
boolValue() = new active state -
SAFE_MODE_ACTIVATED
-
PROFILE_LOADED
stringValue() = profile name -
PROFILE_SAVED
stringValue() = profile name -
CPS_CLICK_BLOCKED
-
CPS_CLICK_ACCEPTED
intValue() = current CPS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-