AlpacaLibary
1.63
A closed source C++ bot for OSRS
|
Go to the source code of this file.
Namespaces | |
Menu | |
A namespace containing various functions for the right-click menu. | |
Functions | |
bool | Menu::IsOpen () |
bool | Menu::Open () |
Opens the menu by right-clicking wherever the mouse currently is. More... | |
bool | Menu::Close () |
std::int32_t | Menu::GetCount () |
bool | Menu::OptionsValid (std::int32_t MenuCount, const std::vector< std::string > &RawActions, const std::vector< std::string > &RawTargets) |
Attempts to verify the order of the passed menu actions and targets. More... | |
std::vector< std::string > | Menu::GetActions () |
Get the menu actions. More... | |
std::vector< std::string > | Menu::GetTargets () |
Get the menu targets. More... | |
std::vector< std::string > | Menu::GetOptions () |
Get the menu options. More... | |
std::vector< std::pair< std::string, std::string > > | Menu::GetSplitOptions () |
Get the menu options split into pairs instead of whole strings. More... | |
std::int32_t | Menu::IndexOf (const std::string &Option) |
Get the index of the found option. More... | |
std::int32_t | Menu::IndexOf (const std::vector< std::string > &Options) |
Get the index of the first found option. More... | |
std::tuple< std::int32_t, std::string, std::string > | Menu::FindOption (std::uint32_t Index) |
Looks for a menu option at the passed index, and returns information about the found option. More... | |
std::tuple< std::int32_t, std::string, std::string > | Menu::FindOption (const std::string &Option) |
Looks for a menu option containing the passed Option, and returns information about the found option. More... | |
std::tuple< std::int32_t, std::string, std::string > | Menu::FindOption (const std::vector< std::string > &Options) |
Looks for a menu option containing the passed Option, and returns information about the found option. More... | |
std::vector< std::tuple< std::int32_t, std::string, std::string > > | Menu::FindOptions (const std::string &Option) |
Looks for a menu option containing the passed Option, and returns information of all options that were found. More... | |
std::vector< std::tuple< std::int32_t, std::string, std::string > > | Menu::FindOptions (const std::vector< std::string > &Options) |
Looks for a menu option containing the passed Option, and returns information of all options that were found. More... | |
bool | Menu::Contains (const std::string &Option) |
Returns true if the menu contains the passed Option. More... | |
bool | Menu::Contains (const std::vector< std::string > &Options) |
Returns true if the menu contains at least one of the passed Options. More... | |
bool | Menu::WaitContains (std::uint32_t Duration, std::uint32_t Step, const std::string &Option) |
Waits until the menu contains the passed option. More... | |
bool | Menu::WaitContains (std::uint32_t Duration, std::uint32_t Step, const std::vector< std::string > &Options) |
Waits until the menu contains at leaset one of the passed options. More... | |
bool | Menu::Select (std::int32_t Index, bool CloseMenu=true) |
Selects the menu option by the passed index if the menu is open. More... | |
bool | Menu::Select (const std::string &Option, bool CloseMenu=true) |
Selects the passed menu option if the menu is open. More... | |
bool | Menu::Select (const std::vector< std::string > &Options, bool CloseMenu=true) |
Selects the first found option in the menu. More... | |
std::vector< Box > | Menu::GetOptionBoxes () |
Get the array of menu option boxes, each box is a menu option. More... | |
Box | Menu::GetBox () |