AlpacaLibary
1.63
A closed source C++ bot for OSRS
|
Typedefs | |
typedef enum Chat::DIALOGUE_STATE | DIALOGUE_STATE |
typedef enum Chat::CHAT_TYPE | CHAT_TYPE |
Enumerations | |
enum | DIALOGUE_STATE { IDLE , CLICK_CONTINUE , SELECT_OPTION , PLEASE_WAIT , ENTER_AMOUNT , LEVEL_UP , PLEASE_WAIT_TIMED } |
enum | CHAT_TYPE { GAME_MESSAGE = 0 , MOD = 1 , PUBLIC = 2 , PRIVATE = 3 , ENGINE = 4 , LOGIN_LOGOUT_NOTIFICATION = 5 , PRIVATE_OUT = 6 , MOD_PRIVATE = 7 , FRIENDS = 9 , FRIENDS_NOTIFICATION = 11 , TRADE_SENT = 12 , BROADCAST = 14 , SNAPSHOT_FEEDBACK = 26 , EXAMINE_ITEM = 27 , EXAMINE_NPC = 28 , EXAMINE_OBJ = 29 , FRIEND_NOTIFICATION = 30 , IGNORE_NOTIFICATION = 31 , AUTOTYPER = 90 , MOD_AUTOTYPER = 91 , CONSOLE = 99 , TRADE_REQUEST = 101 , TRADE = 102 , CHALREQ_TRADE = 103 , CHALREQ_FRIENDS = 104 , SPAM = 105 , PLAYER_RELATED = 106 , TENSEC_TIMEOUT = 107 , UNKNOWN = -1 } |
Functions | |
std::vector< Internal::MessageNode > | GetMessages (bool Sort=true) |
std::vector< Internal::MessageNode > | GetMessages (CHAT_TYPE Type, bool Sort=true) |
std::vector< Internal::MessageNode > | GetMessages (const std::vector< CHAT_TYPE > &Type, bool Sort=true) |
Internal::MessageNode | GetLastMessage () |
Internal::MessageNode | GetLastMessage (CHAT_TYPE Type) |
std::vector< Interactable::Widget > | GetDialogueWidgets () |
DIALOGUE_STATE | GetDialogueState () |
std::vector< std::string > | GetDialogueOptions () |
bool | WaitDialogueState (std::uint32_t Duration, std::uint32_t Step, Chat::DIALOGUE_STATE State, bool Result=true) |
bool | DialogueContains (const std::string &Text) |
bool | DialogueContains (const std::vector< std::string > &Texts) |
bool | ClickContinue (bool UseKeyboard=false) |
bool | EnterAmount (std::int32_t Amount) |
bool | SelectDialogueOption (const std::string &Option, bool UseKeyboard=false) |
bool | SelectDialogueOption (const std::vector< std::string > &Options, bool UseKeyboard=false) |
typedef enum Chat::CHAT_TYPE Chat::CHAT_TYPE |
typedef enum Chat::DIALOGUE_STATE Chat::DIALOGUE_STATE |
enum Chat::CHAT_TYPE |
Enumerator | |
---|---|
GAME_MESSAGE | Game message |
MOD | Public chat message from a moderator |
PUBLIC | Public chat message |
PRIVATE | Private message from another player |
ENGINE | |
LOGIN_LOGOUT_NOTIFICATION | Received when a friend logs in or out |
PRIVATE_OUT | Private message sent to another player |
MOD_PRIVATE | Private message received from a moderator |
FRIENDS | Clan chat message |
FRIENDS_NOTIFICATION | Message with information about the current clan chat |
TRADE_SENT | Trade request being sent |
BROADCAST | Game broadcast |
SNAPSHOT_FEEDBACK | Abuse report submitted |
EXAMINE_ITEM | Examine item message |
EXAMINE_NPC | Examine NPC message |
EXAMINE_OBJ | Examine object message |
FRIEND_NOTIFICATION | Message sent when adding a player to friends list |
IGNORE_NOTIFICATION | Message sent when adding a player to ignore list |
AUTOTYPER | Autotyper message from a player |
MOD_AUTOTYPER | Autotyper message from a moderator |
CONSOLE | Message sent typically when a setting changes |
TRADE_REQUEST | Message recieved when another sends a trade offer to the local player |
TRADE | Message recieved when completing a trade or duel |
CHALREQ_TRADE | Message received when somebody sends a duel offer |
CHALREQ_FRIENDS | Message received when another player sends a clan challenge offer |
SPAM | Filtered message |
PLAYER_RELATED | |
TENSEC_TIMEOUT | |
UNKNOWN |
enum Chat::DIALOGUE_STATE |
bool Chat::ClickContinue | ( | bool | UseKeyboard = false | ) |
bool Chat::DialogueContains | ( | const std::string & | Text | ) |
bool Chat::DialogueContains | ( | const std::vector< std::string > & | Texts | ) |
bool Chat::EnterAmount | ( | std::int32_t | Amount | ) |
std::vector<std::string> Chat::GetDialogueOptions | ( | ) |
DIALOGUE_STATE Chat::GetDialogueState | ( | ) |
std::vector<Interactable::Widget> Chat::GetDialogueWidgets | ( | ) |
Internal::MessageNode Chat::GetLastMessage | ( | ) |
Internal::MessageNode Chat::GetLastMessage | ( | CHAT_TYPE | Type | ) |
std::vector<Internal::MessageNode> Chat::GetMessages | ( | bool | Sort = true | ) |
std::vector<Internal::MessageNode> Chat::GetMessages | ( | CHAT_TYPE | Type, |
bool | Sort = true |
||
) |
std::vector<Internal::MessageNode> Chat::GetMessages | ( | const std::vector< CHAT_TYPE > & | Type, |
bool | Sort = true |
||
) |
bool Chat::SelectDialogueOption | ( | const std::string & | Option, |
bool | UseKeyboard = false |
||
) |
bool Chat::SelectDialogueOption | ( | const std::vector< std::string > & | Options, |
bool | UseKeyboard = false |
||
) |
bool Chat::WaitDialogueState | ( | std::uint32_t | Duration, |
std::uint32_t | Step, | ||
Chat::DIALOGUE_STATE | State, | ||
bool | Result = true |
||
) |