public class Dialogue extends SimpleTextQuery<SimpleChatOption>
Modifier and Type | Field and Description |
---|---|
int |
CHAT_WIDGET |
Constructor and Description |
---|
Dialogue(ClientContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
canContinue()
Will return if the current open chatbox has the continue button
|
boolean |
clickContinue()
Will click the continue button in the chatbox
|
boolean |
clickDialogueOption(int option)
Will click specified {option} in chatbox
|
boolean |
dialogueOpen()
Will return if you have a chatbox open or not
|
SimpleWidget |
getContinueButton()
Will return the SimpleWidget resembling the continue button
|
SimpleWidget[] |
getDialogueOptions()
Will return an array of SimpleWidgets resembling the open options inside of the chatbox
|
java.lang.String[] |
getDialogueTitleAndMessage() |
SimpleWidget |
getOpenDialogueWidget()
Will return a SimpleWidget resembling the chatbox that is currently open
|
boolean |
pendingInput()
Will return true if withdraw-x in bank amount input is open for example
|
filterContains, filterExact
contains, filter, isEmpty, iterator, next, peekNext, populate, population, reverse, shuffle, size, sort, toStream
public final int CHAT_WIDGET
public Dialogue(ClientContext ctx)
public SimpleWidget getOpenDialogueWidget()
public boolean dialogueOpen()
public SimpleWidget[] getDialogueOptions()
public boolean clickDialogueOption(int option)
option
- 1 out of 5public boolean canContinue()
public boolean clickContinue()
public SimpleWidget getContinueButton()
public java.lang.String[] getDialogueTitleAndMessage()
public boolean pendingInput()