Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createEvent(java.lang.Object... arguments) |
java.lang.Class<?>[] |
getRewrittenClasses() |
boolean |
isForwardEvent() |
static void |
loadEvents(java.lang.Class<?> playerClass,
java.lang.String platformName,
boolean proxy) |
static EventEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventEnum LOGIN_REQUEST
public static final EventEnum AUTHENTICATE_EVENT
public static final EventEnum LOGIN_EVENT
public static final EventEnum PREMIUM_LOGIN_EVENT
public static final EventEnum BEDROCK_LOGIN_EVENT
public static final EventEnum REGISTER_EVENT
public static final EventEnum SESSION_LOGIN_EVENT
public static final EventEnum WRONG_PASSWORD_EVENT
public static final EventEnum PASSWORD_UPDATE_EVENT
public static final EventEnum CHANGE_PASSWORD
public static final EventEnum PRE_COMMAND_EXECUTE
public static final EventEnum UNREGISTER
public static final EventEnum SERVER_PRE_CONNECT
public static final EventEnum TWO_FACTOR_ADD
public static final EventEnum TWO_FACTOR_AUTH
public static final EventEnum TWO_FACTOR_REMOVE
public static final EventEnum TWO_FACTOR_REQUEST
public static EventEnum[] values()
for (EventEnum c : EventEnum.values()) System.out.println(c);
public static EventEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isForwardEvent()
public java.lang.Class<?>[] getRewrittenClasses()
public java.lang.Object createEvent(java.lang.Object... arguments) throws java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static void loadEvents(java.lang.Class<?> playerClass, java.lang.String platformName, boolean proxy) throws java.lang.NoSuchMethodException, java.lang.ClassNotFoundException, java.lang.NoClassDefFoundError
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.NoClassDefFoundError