Package com.epicbot.api.shared.methods
Interface IDialogueAPI
-
public interface IDialogueAPI
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IDialogueAPI.DialogueType
-
Field Summary
Fields Modifier and Type Field Description static int[]
DIALOG_GROUP_IDS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canContinue()
boolean
complete(java.lang.String[] options)
IDialogueAPI.DialogueType
getDialogueType()
java.util.List<WidgetChild>
getOptions()
java.lang.String
getText()
boolean
hasOption(java.lang.String option)
boolean
hasOption(java.lang.String[] options)
boolean
hasOptionContaining(java.lang.String option)
boolean
hasOptionContaining(java.lang.String[] options)
boolean
isChatOpen()
boolean
isDialogueOpen()
boolean
isDialogueOpen(IDialogueAPI.DialogueType type)
boolean
isLoading()
boolean
selectContinue()
boolean
selectContinue(boolean keyboard)
boolean
selectOption(int index)
boolean
selectOption(int index, boolean keyboard)
boolean
selectOption(java.lang.String text)
boolean
selectOption(java.lang.String text, boolean keyboard)
boolean
selectOption(java.util.function.Predicate<java.lang.String> stringPredicate)
boolean
selectOption(java.util.function.Predicate<java.lang.String> stringPredicate, boolean keyboard)
-
-
-
Method Detail
-
isChatOpen
boolean isChatOpen()
-
isDialogueOpen
boolean isDialogueOpen(IDialogueAPI.DialogueType type)
-
isDialogueOpen
boolean isDialogueOpen()
-
isLoading
boolean isLoading()
-
getDialogueType
IDialogueAPI.DialogueType getDialogueType()
-
hasOptionContaining
boolean hasOptionContaining(java.lang.String option)
-
hasOption
boolean hasOption(java.lang.String option)
-
hasOptionContaining
boolean hasOptionContaining(java.lang.String[] options)
-
hasOption
boolean hasOption(java.lang.String[] options)
-
selectOption
boolean selectOption(int index)
-
selectOption
boolean selectOption(int index, boolean keyboard)
-
selectOption
boolean selectOption(java.lang.String text)
-
selectOption
boolean selectOption(java.lang.String text, boolean keyboard)
-
selectOption
boolean selectOption(java.util.function.Predicate<java.lang.String> stringPredicate)
-
selectOption
boolean selectOption(java.util.function.Predicate<java.lang.String> stringPredicate, boolean keyboard)
-
selectContinue
boolean selectContinue()
-
selectContinue
boolean selectContinue(boolean keyboard)
-
complete
boolean complete(java.lang.String[] options)
-
canContinue
boolean canContinue()
-
getOptions
java.util.List<WidgetChild> getOptions()
-
getText
java.lang.String getText()
-
-