Package com.nickuc.login.api.enums.event
Enum Class EventEnum
- All Implemented Interfaces:
Serializable
,Comparable<EventEnum>
,Constable
List of all nLogin events. For internal use.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioncreateEvent
(Object... arguments) Class<?>[]
boolean
static void
loadEvents
(Class<?> playerClass, String platformName, boolean proxy) static EventEnum
Returns the enum constant of this class with the specified name.static EventEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOGIN_REQUEST
-
AUTHENTICATE_EVENT
-
LOGIN_EVENT
-
PREMIUM_LOGIN_EVENT
-
BEDROCK_LOGIN_EVENT
-
REGISTER_EVENT
-
SESSION_LOGIN_EVENT
-
WRONG_PASSWORD_EVENT
-
PASSWORD_UPDATE_EVENT
-
CHANGE_PASSWORD
-
PRE_COMMAND_EXECUTE
-
UNREGISTER
-
SERVER_PRE_CONNECT
-
TWO_FACTOR_ADD
-
TWO_FACTOR_AUTH
-
TWO_FACTOR_REMOVE
-
TWO_FACTOR_REQUEST
-
-
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
-
isForwardEvent
public boolean isForwardEvent() -
getRewrittenClasses
-
createEvent
public Object createEvent(Object... arguments) throws InvocationTargetException, InstantiationException, IllegalAccessException -
loadEvents
public static void loadEvents(Class<?> playerClass, String platformName, boolean proxy) throws NoSuchMethodException, ClassNotFoundException, NoClassDefFoundError
-