AlpacaLibary  1.63
A closed source C++ bot for OSRS
Chat.hpp File Reference
#include "../../Core/Classes/MessageNode.hpp"
#include "../../Game/Interactable/Widget.hpp"
#include <cstdint>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 Chat
 

Typedefs

typedef enum Chat::DIALOGUE_STATE Chat::DIALOGUE_STATE
 
typedef enum Chat::CHAT_TYPE Chat::CHAT_TYPE
 

Enumerations

enum  Chat::DIALOGUE_STATE {
  Chat::IDLE , Chat::CLICK_CONTINUE , Chat::SELECT_OPTION , Chat::PLEASE_WAIT ,
  Chat::ENTER_AMOUNT , Chat::LEVEL_UP , Chat::PLEASE_WAIT_TIMED
}
 
enum  Chat::CHAT_TYPE {
  Chat::GAME_MESSAGE = 0 , Chat::MOD = 1 , Chat::PUBLIC = 2 , Chat::PRIVATE = 3 ,
  Chat::ENGINE = 4 , Chat::LOGIN_LOGOUT_NOTIFICATION = 5 , Chat::PRIVATE_OUT = 6 , Chat::MOD_PRIVATE = 7 ,
  Chat::FRIENDS = 9 , Chat::FRIENDS_NOTIFICATION = 11 , Chat::TRADE_SENT = 12 , Chat::BROADCAST = 14 ,
  Chat::SNAPSHOT_FEEDBACK = 26 , Chat::EXAMINE_ITEM = 27 , Chat::EXAMINE_NPC = 28 , Chat::EXAMINE_OBJ = 29 ,
  Chat::FRIEND_NOTIFICATION = 30 , Chat::IGNORE_NOTIFICATION = 31 , Chat::AUTOTYPER = 90 , Chat::MOD_AUTOTYPER = 91 ,
  Chat::CONSOLE = 99 , Chat::TRADE_REQUEST = 101 , Chat::TRADE = 102 , Chat::CHALREQ_TRADE = 103 ,
  Chat::CHALREQ_FRIENDS = 104 , Chat::SPAM = 105 , Chat::PLAYER_RELATED = 106 , Chat::TENSEC_TIMEOUT = 107 ,
  Chat::UNKNOWN = -1
}
 

Functions

std::vector< Internal::MessageNodeChat::GetMessages (bool Sort=true)
 
std::vector< Internal::MessageNodeChat::GetMessages (CHAT_TYPE Type, bool Sort=true)
 
std::vector< Internal::MessageNodeChat::GetMessages (const std::vector< CHAT_TYPE > &Type, bool Sort=true)
 
Internal::MessageNode Chat::GetLastMessage ()
 
Internal::MessageNode Chat::GetLastMessage (CHAT_TYPE Type)
 
std::vector< Interactable::WidgetChat::GetDialogueWidgets ()
 
DIALOGUE_STATE Chat::GetDialogueState ()
 
std::vector< std::string > Chat::GetDialogueOptions ()
 
bool Chat::WaitDialogueState (std::uint32_t Duration, std::uint32_t Step, Chat::DIALOGUE_STATE State, bool Result=true)
 
bool Chat::DialogueContains (const std::string &Text)
 
bool Chat::DialogueContains (const std::vector< std::string > &Texts)
 
bool Chat::ClickContinue (bool UseKeyboard=false)
 
bool Chat::EnterAmount (std::int32_t Amount)
 
bool Chat::SelectDialogueOption (const std::string &Option, bool UseKeyboard=false)
 
bool Chat::SelectDialogueOption (const std::vector< std::string > &Options, bool UseKeyboard=false)