Package com.runemate.game.api.hybrid
Enum GameEvents.Universal
- java.lang.Object
-
- java.lang.Enum<GameEvents.Universal>
-
- com.runemate.game.api.hybrid.GameEvents.Universal
-
- All Implemented Interfaces:
GameEvents.GameEvent
,java.io.Serializable
,java.lang.Comparable<GameEvents.Universal>
- Enclosing class:
- GameEvents
public static enum GameEvents.Universal extends java.lang.Enum<GameEvents.Universal> implements GameEvents.GameEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK_PIN
GENIE_HANDLER
INTERFACE_CLOSER
LOBBY_HANDLER
LOGIN_HANDLER
UNEXPECTED_ITEM_HANDLER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull java.util.List<GameEvents.GameEvent>
getChildren(com.runemate.game.api.script.framework.AbstractBot bot)
java.lang.String
getName()
static GameEvents.Universal
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GameEvents.Universal[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.runemate.game.api.hybrid.GameEvents.GameEvent
areTrayNotificationsEnabled, areTrayNotificationsEnabled, disable, disable, disableTrayNotifications, disableTrayNotifications, enable, enable, enableTrayNotifications, enableTrayNotifications, getChild, getChild, getChildren, isEnabled, isEnabled
-
-
-
-
Enum Constant Detail
-
BANK_PIN
public static final GameEvents.Universal BANK_PIN
-
INTERFACE_CLOSER
public static final GameEvents.Universal INTERFACE_CLOSER
-
LOBBY_HANDLER
public static final GameEvents.Universal LOBBY_HANDLER
-
UNEXPECTED_ITEM_HANDLER
public static final GameEvents.Universal UNEXPECTED_ITEM_HANDLER
-
LOGIN_HANDLER
public static final GameEvents.Universal LOGIN_HANDLER
-
GENIE_HANDLER
public static final GameEvents.Universal GENIE_HANDLER
-
-
Method Detail
-
values
public static GameEvents.Universal[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GameEvents.Universal c : GameEvents.Universal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GameEvents.Universal valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getChildren
@NonNull public @NonNull java.util.List<GameEvents.GameEvent> getChildren(com.runemate.game.api.script.framework.AbstractBot bot)
- Specified by:
getChildren
in interfaceGameEvents.GameEvent
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceGameEvents.GameEvent
-
-