Enum ChatDialog.Type
- java.lang.Object
-
- java.lang.Enum<ChatDialog.Type>
-
- com.osrsbots.orb.api.interactables.dialogs.ChatDialog.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ChatDialog.Type>
- Enclosing class:
- ChatDialog
public static enum ChatDialog.Type extends java.lang.Enum<ChatDialog.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEDLEVEL_UPNPC_DIALOGOPTIONS_DIALOGPLAYER_DIALOGWARNING_DIALOG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChatDialog.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChatDialog.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSED
public static final ChatDialog.Type CLOSED
-
LEVEL_UP
public static final ChatDialog.Type LEVEL_UP
-
NPC_DIALOG
public static final ChatDialog.Type NPC_DIALOG
-
PLAYER_DIALOG
public static final ChatDialog.Type PLAYER_DIALOG
-
OPTIONS_DIALOG
public static final ChatDialog.Type OPTIONS_DIALOG
-
WARNING_DIALOG
public static final ChatDialog.Type WARNING_DIALOG
-
-
Method Detail
-
values
public static ChatDialog.Type[] 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 (ChatDialog.Type c : ChatDialog.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChatDialog.Type 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
-
-