Release 0.49
parent
3943a3c7c6
commit
23ee647546
|
@ -18,6 +18,7 @@ class Chat
|
|||
IDLE,
|
||||
CLICK_CONTINUE,
|
||||
SELECT_OPTION,
|
||||
PLEASE_WAIT,
|
||||
ENTER_AMOUNT,
|
||||
LEVEL_UP
|
||||
} DIALOGUE_STATE;
|
||||
|
@ -52,15 +53,21 @@ class Chat
|
|||
static Internal::MessageNode GetLastMessage(CHAT_TYPE Type);
|
||||
|
||||
static DIALOGUE_STATE GetDialogueState();
|
||||
static bool HasDialogue();
|
||||
static std::vector<std::string> GetDialogueOptions();
|
||||
static std::string GetDialogueTitle();
|
||||
static std::string GetDialogueMessage();
|
||||
|
||||
static std::int32_t GetDialogueOptionIndexOf(const std::string& Option);
|
||||
static std::int32_t GetDialogueOptionIndexOf(const std::vector<std::string>& Options);
|
||||
|
||||
static bool ClickContinue(bool UseKeyboard = false);
|
||||
static bool EnterAmount(std::int32_t Amount);
|
||||
|
||||
static bool SelectDialogueOption(std::uint32_t Index, bool UseKeyboard = false); // Index starts at 0
|
||||
static bool SelectDialogueOption(const std::string& Option, bool UseKeyboard = false);
|
||||
static bool SelectDialogueOption(const std::vector<std::string>& Options, bool UseKeyboard = false);
|
||||
static bool SelectDialogueOption(std::uint32_t OptionIndex, bool UseKeyboard = false); // OptionIndex has to be 1-4
|
||||
|
||||
static bool WaitDialogueState(std::uint32_t Duration, std::uint32_t Step, Chat::DIALOGUE_STATE State, bool Result = true); // Waits until the current chat state equals State
|
||||
};
|
||||
|
||||
/** @} */
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue