Release 0.42
parent
b96577cec6
commit
8d059a5870
|
@ -18,7 +18,7 @@ namespace Internal
|
||||||
|
|
||||||
std::int32_t GetAngle() const;
|
std::int32_t GetAngle() const;
|
||||||
std::int32_t GetFlags() const;
|
std::int32_t GetFlags() const;
|
||||||
std::int32_t GetHash() const;
|
std::int64_t GetHash() const;
|
||||||
std::int32_t GetOffsetX() const;
|
std::int32_t GetOffsetX() const;
|
||||||
std::int32_t GetOffsetY() const;
|
std::int32_t GetOffsetY() const;
|
||||||
std::int32_t GetRenderInfo() const;
|
std::int32_t GetRenderInfo() const;
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace Internal
|
||||||
|
|
||||||
std::int32_t GetAngle() const;
|
std::int32_t GetAngle() const;
|
||||||
std::int32_t GetFlags() const;
|
std::int32_t GetFlags() const;
|
||||||
std::int32_t GetHash() const;
|
std::int64_t GetHash() const;
|
||||||
std::int32_t GetHeight() const;
|
std::int32_t GetHeight() const;
|
||||||
std::int32_t GetOffsetX() const;
|
std::int32_t GetOffsetX() const;
|
||||||
std::int32_t GetOffsetY() const;
|
std::int32_t GetOffsetY() const;
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace Internal
|
||||||
GroundObject(const GroundObject& G);
|
GroundObject(const GroundObject& G);
|
||||||
static Class GetClass();
|
static Class GetClass();
|
||||||
|
|
||||||
std::int32_t GetHash() const;
|
std::int64_t GetHash() const;
|
||||||
std::int32_t GetRenderInfo() const;
|
std::int32_t GetRenderInfo() const;
|
||||||
Renderable GetRenderable() const;
|
Renderable GetRenderable() const;
|
||||||
std::int32_t GetX() const;
|
std::int32_t GetX() const;
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace Internal
|
||||||
|
|
||||||
std::int32_t GetAngle() const;
|
std::int32_t GetAngle() const;
|
||||||
std::int32_t GetFlags() const;
|
std::int32_t GetFlags() const;
|
||||||
std::int32_t GetHash() const;
|
std::int64_t GetHash() const;
|
||||||
std::int32_t GetHeight() const;
|
std::int32_t GetHeight() const;
|
||||||
Renderable GetRenderable() const;
|
Renderable GetRenderable() const;
|
||||||
std::int32_t GetX() const;
|
std::int32_t GetX() const;
|
||||||
|
|
|
@ -57,19 +57,19 @@ class Bank
|
||||||
static std::int32_t GetTabOf(const std::string& Name);
|
static std::int32_t GetTabOf(const std::string& Name);
|
||||||
static bool OpenTab(std::int32_t Tab);
|
static bool OpenTab(std::int32_t Tab);
|
||||||
|
|
||||||
static bool ScrollTo(std::int32_t ID, bool OpenTab = true);
|
static bool ScrollTo(std::int32_t ID, bool OpenRespectiveTab = false);
|
||||||
static bool ScrollTo(const std::string& Name, bool OpenTab = true);
|
static bool ScrollTo(const std::string& Name, bool OpenRespectiveTab = false);
|
||||||
|
|
||||||
static bool InteractItemByIndex(std::int32_t ID, const std::string& Option);
|
static bool InteractItemByIndex(std::int32_t ID, const std::string& Option);
|
||||||
static bool InteractItem(std::int32_t ID, const std::string& Option);
|
static bool InteractItem(std::int32_t ID, const std::string& Option, bool OpenRespectiveTab = false);
|
||||||
static bool InteractItem(const std::string& Name, const std::string& Option);
|
static bool InteractItem(const std::string& Name, const std::string& Option, bool OpenRespectiveTab = false);
|
||||||
|
|
||||||
static bool WithdrawXOf(std::int32_t ID, std::int32_t Amount, bool OpenTab = false);
|
static bool WithdrawXOf(std::int32_t ID, std::int32_t Amount, bool OpenRespectiveTab = false);
|
||||||
static bool WithdrawXOf(const std::string& Name, std::int32_t Amount, bool OpenTab = false);
|
static bool WithdrawXOf(const std::string& Name, std::int32_t Amount, bool OpenRespectiveTab = false);
|
||||||
static bool WithdrawAllOf(std::int32_t ID, bool OpenTab = false);
|
static bool WithdrawAllOf(std::int32_t ID, bool OpenRespectiveTab = false);
|
||||||
static bool WithdrawAllOf(const std::string& Name, bool OpenTab = false);
|
static bool WithdrawAllOf(const std::string& Name, bool OpenRespectiveTab = false);
|
||||||
static bool WithdrawAllButOneOf(std::int32_t ID, bool OpenTab = false);
|
static bool WithdrawAllButOneOf(std::int32_t ID, bool OpenRespectiveTab = false);
|
||||||
static bool WithdrawAllButOneOf(const std::string& Name, bool OpenTab = false);
|
static bool WithdrawAllButOneOf(const std::string& Name, bool OpenRespectiveTab = false);
|
||||||
|
|
||||||
static bool DepositAllOf(std::int32_t ID);
|
static bool DepositAllOf(std::int32_t ID);
|
||||||
static bool DepositAllOf(const std::string& Name);
|
static bool DepositAllOf(const std::string& Name);
|
||||||
|
|
|
@ -52,14 +52,15 @@ class Chat
|
||||||
static Internal::MessageNode GetLastMessage(CHAT_TYPE Type);
|
static Internal::MessageNode GetLastMessage(CHAT_TYPE Type);
|
||||||
|
|
||||||
static DIALOGUE_STATE GetDialogueState();
|
static DIALOGUE_STATE GetDialogueState();
|
||||||
|
static bool HasDialogue();
|
||||||
static std::vector<std::string> GetDialogueOptions();
|
static std::vector<std::string> GetDialogueOptions();
|
||||||
static std::string GetDialogueTitle();
|
static std::string GetDialogueTitle();
|
||||||
static std::string GetDialogueMessage();
|
static std::string GetDialogueMessage();
|
||||||
static bool ClickContinue();
|
static bool ClickContinue(bool UseKeyboard = false);
|
||||||
static bool EnterAmount(std::int32_t Amount);
|
static bool EnterAmount(std::int32_t Amount);
|
||||||
static bool SelectDialogueOption(const std::string& Option);
|
static bool SelectDialogueOption(const std::string& Option, bool UseKeyboard = false);
|
||||||
static bool SelectDialogueOption(const std::vector<std::string>& Options);
|
static bool SelectDialogueOption(const std::vector<std::string>& Options, bool UseKeyboard = false);
|
||||||
static bool SelectDialogueOption(std::uint32_t OptionIndex);
|
static bool SelectDialogueOption(std::uint32_t OptionIndex, bool UseKeyboard = false); // OptionIndex has to be 1-4
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -19,17 +19,14 @@ class Logout
|
||||||
static bool IsWorldSwitcherOpen();
|
static bool IsWorldSwitcherOpen();
|
||||||
static bool OpenWorldSwitcher();
|
static bool OpenWorldSwitcher();
|
||||||
|
|
||||||
static bool WorldSwitcherScrollTo(Internal::World World);
|
static bool WorldSwitcherScrollTo(const Internal::World& World);
|
||||||
static bool WorldSwitcherScrollTo(std::int32_t WorldID);
|
static bool WorldSwitcherScrollTo(std::int32_t WorldID);
|
||||||
|
|
||||||
static bool SwitchWorld(const Internal::World& World);
|
static bool SwitchWorld(const Internal::World& World);
|
||||||
static bool SwitchWorld(std::int32_t WorldID);
|
static bool SwitchWorld(std::int32_t WorldID);
|
||||||
|
|
||||||
static std::vector<std::uint32_t> GetFavoriteWorlds();
|
|
||||||
|
|
||||||
static Internal::Widget GetWorldWidget(const Internal::World& World);
|
static Internal::Widget GetWorldWidget(const Internal::World& World);
|
||||||
static Internal::Widget GetWorldWidget(std::int32_t WorldID);
|
static Internal::Widget GetWorldWidget(std::int32_t WorldID);
|
||||||
static Internal::Widget GetFavoriteWorldWidget(std::int32_t WorldID);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -137,36 +137,60 @@ class Menu
|
||||||
*
|
*
|
||||||
* @param Index The index of the menu option to look at
|
* @param Index The index of the menu option to look at
|
||||||
* @return std::tuple<bool, std::string, std::string>
|
* @return std::tuple<bool, std::string, std::string>
|
||||||
* bool [0] = Found option at index was found in menu options (should be always true if something was found at index)
|
* std::int32_t [0] = Index of the option that was found (-1 if the option wasn't found)
|
||||||
* std::string [1] = Action that was found at index
|
* std::string [1] = Action that was found at index
|
||||||
* std::string [2] = Target that was found at index
|
* std::string [2] = Target that was found at index
|
||||||
* @see Menu::IndexOf(const std::string& Option)
|
* @see Menu::IndexOf(const std::string& Option)
|
||||||
*/
|
*/
|
||||||
static std::tuple<bool, std::string, std::string> FindOption(std::uint32_t Index);
|
static std::tuple<std::int32_t, std::string, std::string> FindOption(std::uint32_t Index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Looks for a menu option containing the passed Option, and returns information about the found option
|
* @brief Looks for a menu option containing the passed Option, and returns information about the found option
|
||||||
*
|
*
|
||||||
* @param Option Menu option to look for, the more specific, the more accurate the result will be
|
* @param Option Menu option to look for, the more specific, the more accurate the result will be
|
||||||
* @return std::tuple<bool, std::string, std::string>
|
* @return std::tuple<bool, std::string, std::string>
|
||||||
* bool [0] = Option was found in the Menu options
|
* std::int32_t [0] = Index of the option that was found (-1 if the option wasn't found)
|
||||||
* std::string [1] = Action that was found
|
* std::string [1] = Action that was found
|
||||||
* std::string [2] = Target that was found
|
* std::string [2] = Target that was found
|
||||||
* @see Menu::IndexOf(const std::string& Option)
|
* @see Menu::IndexOf(const std::string& Option)
|
||||||
*/
|
*/
|
||||||
static std::tuple<bool, std::string, std::string> FindOption(const std::string& Option);
|
static std::tuple<std::int32_t, std::string, std::string> FindOption(const std::string& Option);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Looks for a menu option containing the passed Option, and returns information about the found option
|
* @brief Looks for a menu option containing the passed Option, and returns information about the found option
|
||||||
*
|
*
|
||||||
* @param Options Menu options to look for, returns on first option found, the more specific, the more accurate the result will be
|
* @param Options Menu options to look for, returns on first option found, the more specific, the more accurate the result will be
|
||||||
* @return std::tuple<bool, std::string, std::string>
|
* @return std::tuple<bool, std::string, std::string>
|
||||||
* bool [0] = Option was found in the Menu options
|
* std::int32_t [0] = Index of the option that was found (-1 if the option wasn't found)
|
||||||
* std::string [1] = Action that was found
|
* std::string [1] = Action that was found
|
||||||
* std::string [2] = Target that was found
|
* std::string [2] = Target that was found
|
||||||
* @see Menu::IndexOf(const std::string& Option)
|
* @see Menu::IndexOf(const std::string& Option)
|
||||||
*/
|
*/
|
||||||
static std::tuple<bool, std::string, std::string> FindOption(const std::vector<std::string>& Options);
|
static std::tuple<std::int32_t, std::string, std::string> FindOption(const std::vector<std::string>& Options);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Looks for a menu option containing the passed Option, and returns information of all options that were found
|
||||||
|
*
|
||||||
|
* @param Option Menu option to look for, the more specific, the more accurate the result will be
|
||||||
|
* @return std::vector<std::tuple<std::int32_t, std::string, std::string>>
|
||||||
|
* std::int32_t [0] = Index of the option that was found (-1 if the option wasn't found)
|
||||||
|
* std::string [1] = Action that was found
|
||||||
|
* std::string [2] = Target that was found
|
||||||
|
* @see Menu::IndexOf(const std::string& Option)
|
||||||
|
*/
|
||||||
|
static std::vector<std::tuple<std::int32_t, std::string, std::string>> FindOptions(const std::string& Option);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Looks for a menu option containing the passed Option, and returns information of all options that were found
|
||||||
|
*
|
||||||
|
* @param Options Menu options to look for, returns on first option found, the more specific, the more accurate the result will be
|
||||||
|
* @return std::vector<std::tuple<std::int32_t, std::string, std::string>>
|
||||||
|
* std::int32_t [0] = Index of the option that was found (-1 if the option wasn't found)
|
||||||
|
* std::string [1] = Action that was found
|
||||||
|
* std::string [2] = Target that was found
|
||||||
|
* @see Menu::IndexOf(const std::string& Option)
|
||||||
|
*/
|
||||||
|
static std::vector<std::tuple<std::int32_t, std::string, std::string>> FindOptions(const std::vector<std::string>& Options);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue