Enum DialogueFlowRunner.StepKind
- java.lang.Object
-
- java.lang.Enum<DialogueFlowRunner.StepKind>
-
- net.openosrs.api.service.dialogue.DialogueFlowRunner.StepKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DialogueFlowRunner.StepKind>
- Enclosing class:
- DialogueFlowRunner
public static enum DialogueFlowRunner.StepKind extends java.lang.Enum<DialogueFlowRunner.StepKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHOOSEChoose the first option containing the needle (case-insensitive).CONTINUEClick whatever continue widget is visible (spacebar-equivalent).ENTER_AMOUNTEnter an integer amount via RESUME_P_COUNTDIALOG packet tier.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DialogueFlowRunner.StepKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DialogueFlowRunner.StepKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final DialogueFlowRunner.StepKind CONTINUE
Click whatever continue widget is visible (spacebar-equivalent).
-
CHOOSE
public static final DialogueFlowRunner.StepKind CHOOSE
Choose the first option containing the needle (case-insensitive).
-
ENTER_AMOUNT
public static final DialogueFlowRunner.StepKind ENTER_AMOUNT
Enter an integer amount via RESUME_P_COUNTDIALOG packet tier.
-
-
Method Detail
-
values
public static DialogueFlowRunner.StepKind[] 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 (DialogueFlowRunner.StepKind c : DialogueFlowRunner.StepKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DialogueFlowRunner.StepKind 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
-
-