AlpacaLibary  1.63
A closed source C++ bot for OSRS
Globals.hpp File Reference
#include <vector>
#include <cstdint>
#include <map>

Go to the source code of this file.

Classes

struct  Globals::SettingsDef
 
struct  Globals::WidgetDef
 
struct  Globals::GameTabs::SpellDef
 
struct  Globals::GameTabs::PrayerDef
 

Namespaces

 Globals
 
 Globals::GameTabs
 

Typedefs

typedef struct Globals::SettingsDef Globals::SettingsDef
 
typedef struct Globals::WidgetDef Globals::WidgetDef
 
typedef struct Globals::GameTabs::SpellDef Globals::GameTabs::SpellDef
 
typedef struct Globals::GameTabs::PrayerDef Globals::GameTabs::PrayerDef
 

Variables

const SettingsDef Globals::SETTING_COMBAT_SPECIAL = { 300 }
 
const SettingsDef Globals::SETTING_COMBAT_SPECIAL_TOGGLE = { 301 }
 
const SettingsDef Globals::SETTING_COMBAT_AUTO_RETALIATE = { 172 }
 
const SettingsDef Globals::SETTING_COMBAT_POISON = { 102 }
 
const SettingsDef Globals::SETTING_WEAPON_STYLES = { 43 }
 
const SettingsDef Globals::SETTING_ACCEPT_AID = { 427 }
 
const SettingsDef Globals::SETTING_RUN_MODE = { 173 }
 
const SettingsDef Globals::SETTING_CURRENT_PRAYER = { 83 }
 
const SettingsDef Globals::SETTING_BANK_WITHDRAW_MODE = { 115, 0 }
 
const SettingsDef Globals::SETTING_BANK_WITHDRAW_MODE_WIDGET = { 1666 }
 
const SettingsDef Globals::SETTING_BANK_DEFAULT_QUANTITY = { 304 }
 
const SettingsDef Globals::SETTING_EXCHANGE_CURRENT_SLOT_INDEX = { 375 }
 
const SettingsDef Globals::SETTING_EXCHANGE_CURRENT_SLOT_ITEM_ID = { 1151 }
 
const SettingsDef Globals::SETTING_EXCHANGE_CURRENT_SLOT_ITEM_AMOUNT = { 563 }
 
const SettingsDef Globals::SETTING_EXCHANGE_CURRENT_SLOT_PRICE = { 1043 }
 
const SettingsDef Globals::SETTING_ESC_TO_CLOSE = { 1224, 31 }
 
const SettingsDef Globals::SETTING_SHIFT_CLICK_DROP = { 1055, 17 }
 
const SettingsDef Globals::SETTING_SCROLL_WHEEL_TO_ZOOM = { 1055, 29 }
 
const SettingsDef Globals::SETTING_COMBAT_TAB_HOTKEY = { 1224, 0 }
 
const SettingsDef Globals::SETTING_STATS_TAB_HOTKEY = { 1224, 5 }
 
const SettingsDef Globals::SETTING_QUESTS_TAB_HOTKEY = { 1224, 10 }
 
const SettingsDef Globals::SETTING_INVENTORY_TAB_HOTKEY = { 1224, 15 }
 
const SettingsDef Globals::SETTING_EQUIPMENT_TAB_HOTKEY = { 1224, 20 }
 
const SettingsDef Globals::SETTING_PRAYER_TAB_HOTKEY = { 1224, 25 }
 
const SettingsDef Globals::SETTING_MAGIC_TAB_HOTKEY = { 1225, 0 }
 
const SettingsDef Globals::SETTING_CLAN_TAB_HOTKEY = { 1225, 5 }
 
const SettingsDef Globals::SETTING_FRIENDS_TAB_HOTKEY = { 1225, 10 }
 
const SettingsDef Globals::SETTING_ACCOUNT_TAB_HOTKEY = { 1225, 15 }
 
const SettingsDef Globals::SETTING_OPTIONS_TAB_HOTKEY = { 1225, 20 }
 
const SettingsDef Globals::SETTING_EMOTE_TAB_HOTKEY = { 1225, 25 }
 
const SettingsDef Globals::SETTING_MUSIC_TAB_HOTKEY = { 1226, 0 }
 
const SettingsDef Globals::SETTING_LOGOUT_TAB_HOTKEY = { 1226, 5 }
 
const std::int32_t Globals::WIDGET_ROOT_LOBBY = 165
 
const std::int32_t Globals::WIDGET_ROOT_FIXED = 548
 
const std::int32_t Globals::WIDGET_ROOT_RESIZABLE = 161
 
const std::int32_t Globals::WIDGET_ROOT_RESIZABLE_SIDE_PANELS = 164
 
const std::int32_t Globals::BANK_ITEM_CONTAINER_ID = 95
 
const std::int32_t Globals::BANK_SPRITE_ID_CURRENT_TAB = 1079
 
const std::int32_t Globals::BANK_PARENT = 12
 
const WidgetDef Globals::BANK_MAIN = { BANK_PARENT, 2 }
 
const WidgetDef Globals::BANK_CLOSE = { BANK_PARENT, 2, 11 }
 
const WidgetDef Globals::BANK_TABS_CONTAINER = { BANK_PARENT, 10 }
 
const WidgetDef Globals::BANK_ITEM_CONTAINER_WIDGET = { BANK_PARENT, 12 }
 
const WidgetDef Globals::BANK_REARRANGE_MODE_SWAP = { BANK_PARENT, 16 }
 
const WidgetDef Globals::BANK_REARRANGE_MODE_INSERT = { BANK_PARENT, 18 }
 
const WidgetDef Globals::BANK_WITHDRAW_MODE_ITEM = { BANK_PARENT, 21 }
 
const WidgetDef Globals::BANK_WITHDRAW_MODE_NOTED = { BANK_PARENT, 23 }
 
const std::int32_t Globals::BANK_WITHDRAW_QUANTITY_CHILDREN [5] = { 27, 29, 31, 33, 35 }
 
const WidgetDef Globals::BANK_SET_PLACEHOLDERS = { BANK_PARENT, 38 }
 
const WidgetDef Globals::BANK_SEARCH = { BANK_PARENT, 40 }
 
const WidgetDef Globals::BANK_DEPOSIT_ALL = { BANK_PARENT, 42 }
 
const WidgetDef Globals::BANK_DEPOSIT_EQUIPMENT = { BANK_PARENT, 44 }
 
const WidgetDef Globals::BANK_INVENTORY = { 15, 3 }
 
const std::int32_t Globals::BANK_ENTER_PIN_PARENT = 213
 
const WidgetDef Globals::BANK_ENTER_PIN_STATUS = { BANK_ENTER_PIN_PARENT, 10 }
 
const std::int32_t Globals::BANK_ENTER_PIN_BUTTON_CHILDREN [10] = { 16, 18, 20, 22, 24, 26, 28, 30, 32, 34 }
 
const WidgetDef Globals::CHAT_DIALOGUE_NEST_PARENT = { 162, 34 }
 
const WidgetDef Globals::CHAT_DIALOGUE_IDLE = { 162, 54 }
 
const std::int32_t Globals::COLLECTION_BOX_PARENT = 402
 
const WidgetDef Globals::COLLECTION_BOX_MAIN = {COLLECTION_BOX_PARENT, 2, 0}
 
const WidgetDef Globals::COLLECTION_BOX_CLOSE = {COLLECTION_BOX_PARENT, 2, 11}
 
const WidgetDef Globals::COLLECTION_BOX_COLLECT_TO_BANK = {COLLECTION_BOX_PARENT, 4, 1}
 
const WidgetDef Globals::COLLECTION_BOX_COLLECT_TO_INV = {COLLECTION_BOX_PARENT, 3, 1}
 
const std::int32_t Globals::DEPOSIT_BOX_PARENT = 192
 
const WidgetDef Globals::DEPOSIT_BOX_CLOSE = { DEPOSIT_BOX_PARENT, 1, 11 }
 
const WidgetDef Globals::DEPOSIT_BOX_DEPOSIT_ALL = { DEPOSIT_BOX_PARENT, 4 }
 
const WidgetDef Globals::DEPOSIT_BOX_DEPOSIT_EQUIPMENT = { DEPOSIT_BOX_PARENT, 6 }
 
const WidgetDef Globals::DEPOSIT_BOX_DEPOSIT_LOOT = { DEPOSIT_BOX_PARENT, 8 }
 
const std::int32_t Globals::EXCHANGE_PARENT = 465
 
const WidgetDef Globals::EXCHANGE_MAIN = { EXCHANGE_PARENT, 0 }
 
const WidgetDef Globals::EXCHANGE_BACK = { EXCHANGE_PARENT, 4 }
 
const WidgetDef Globals::EXCHANGE_CLOSE = { EXCHANGE_PARENT, 2, 11 }
 
const WidgetDef Globals::EXCHANGE_SPRITE_TYPE = { EXCHANGE_PARENT, 24, 19}
 
const WidgetDef Globals::EXCHANGE_ITEM = { EXCHANGE_PARENT, 24, 21 }
 
const WidgetDef Globals::EXCHANGE_COLLECT_CONTAINER_WIDGET = { EXCHANGE_PARENT, 6, 1 }
 
const WidgetDef Globals::EXCHANGE_COLLECT_SLOT_ONE = { EXCHANGE_PARENT, 23, 2 }
 
const WidgetDef Globals::EXCHANGE_COLLECT_SLOT_TWO = { EXCHANGE_PARENT, 23, 3 }
 
const WidgetDef Globals::EXCHANGE_AMOUNT = { EXCHANGE_PARENT, 24, 7 }
 
const WidgetDef Globals::EXCHANGE_PRICE = { EXCHANGE_PARENT, 24, 12 }
 
const WidgetDef Globals::EXCHANGE_GUIDE = { EXCHANGE_PARENT, 24, 11}
 
const WidgetDef Globals::EXCHANGE_CONFIRM = { EXCHANGE_PARENT, 27, 0 }
 
const WidgetDef Globals::EXCHANGE_ABORT = { EXCHANGE_PARENT, 22, 0 }
 
const WidgetDef Globals::EXCHANGE_CHAT = { 162, 44 }
 
const WidgetDef Globals::EXCHANGE_CHAT_ENTER = { 162, 45 }
 
const WidgetDef Globals::EXCHANGE_CHAT_CHOOSE = { 162, 53 }
 
const std::int32_t Globals::EXCHANGE_SLOT_START = 7
 
const std::int32_t Globals::EXCHANGE_WIDGET_SPRITE_BUY = 26
 
const std::int32_t Globals::EXCHANGE_WIDGET_SPRITE_SELL = EXCHANGE_WIDGET_SPRITE_BUY + 1
 
const std::int32_t Globals::EXCHANGE_SPRITE_BUY = 1108
 
const std::int32_t Globals::EXCHANGE_SPRITE_SELL = 1106
 
const std::int32_t Globals::EXCHANGE_SPRITE_MINI_BUY = 1118
 
const std::int32_t Globals::EXCHANGE_SPRITE_MINI_SELL = 1119
 
const WidgetDef Globals::LOGIN_LOBBY_PLAY = { 378, 78 }
 
const std::int32_t Globals::MAKESCREEN_PARENT = 270
 
const WidgetDef Globals::MAKESCREEN_MAKE_ONE = { MAKESCREEN_PARENT, 7, 0 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_FIVE = { MAKESCREEN_PARENT, 8, 0 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_TEN = { MAKESCREEN_PARENT, 9, 0 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_CUSTOM = { MAKESCREEN_PARENT, 10, 0 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_CUSTOM_TEXT = { MAKESCREEN_PARENT, 10, 9 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_X = { MAKESCREEN_PARENT, 11 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_ALL = { MAKESCREEN_PARENT, 12, 0 }
 
const WidgetDef Globals::MAKESCREEN_MAKE_MIDDLE = { MAKESCREEN_PARENT, 14 }
 
const WidgetDef Globals::MINIMAP_MIDDLE [3] = { { WIDGET_ROOT_FIXED, 8 }, { WIDGET_ROOT_RESIZABLE, 33 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 33 } }
 
const WidgetDef Globals::MINIMAP_COMPASS [3] = { { WIDGET_ROOT_FIXED, 7 }, { WIDGET_ROOT_RESIZABLE, 32 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 32 } }
 
const WidgetDef Globals::MINIMAP_CURE = { 160, 12 }
 
const WidgetDef Globals::MINIMAP_QUICK_PRAYER = { 160, 20 }
 
const WidgetDef Globals::MINIMAP_TOGGLE_RUN = { 160, 28 }
 
const WidgetDef Globals::MINIMAP_SPECIAL_ATTACK = { 160, 37 }
 
const WidgetDef Globals::TRADE_SCREEN = { 335, 3 }
 
const std::int32_t Globals::TRADE_ITEM_CONTAINER_MY_OFFER = 90
 
const std::int32_t Globals::TRADE_ITEM_CONTAINER_THEIR_OFFER = 32858
 
const std::int32_t Globals::EQUIPMENT_ITEM_CONTAINER_WIDGET = 387
 
const std::vector< std::string > Globals::RANDOM_NPC_NAMES
 
const WidgetDef Globals::GameTabs::TAB_CLAN [3] = { { WIDGET_ROOT_FIXED, 39 }, { WIDGET_ROOT_RESIZABLE, 45 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 43 } }
 
const WidgetDef Globals::GameTabs::TAB_ACCOUNT_MANAGEMENT [3] = { { WIDGET_ROOT_FIXED, 40 }, { WIDGET_ROOT_RESIZABLE, 46 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 44 } }
 
const WidgetDef Globals::GameTabs::TAB_IGNORES [3] = { { WIDGET_ROOT_FIXED, 41 }, { WIDGET_ROOT_RESIZABLE, 47 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 45 } }
 
const WidgetDef Globals::GameTabs::TAB_FRIENDS [3] = { { WIDGET_ROOT_FIXED, 41 }, { WIDGET_ROOT_RESIZABLE, 47 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 45 } }
 
const WidgetDef Globals::GameTabs::TAB_LOGOUT [3] = { { WIDGET_ROOT_FIXED, 42 }, { WIDGET_ROOT_RESIZABLE, 48 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 37 } }
 
const WidgetDef Globals::GameTabs::TAB_OPTIONS [3] = { { WIDGET_ROOT_FIXED, 43 }, { WIDGET_ROOT_RESIZABLE, 49 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 46 } }
 
const WidgetDef Globals::GameTabs::TAB_EMOTES [3] = { { WIDGET_ROOT_FIXED, 44 }, { WIDGET_ROOT_RESIZABLE, 50 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 47 } }
 
const WidgetDef Globals::GameTabs::TAB_MUSIC [3] = { { WIDGET_ROOT_FIXED, 45 }, { WIDGET_ROOT_RESIZABLE, 51 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 48 } }
 
const WidgetDef Globals::GameTabs::TAB_COMBAT [3] = { { WIDGET_ROOT_FIXED, 56 }, { WIDGET_ROOT_RESIZABLE, 61 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 58 } }
 
const WidgetDef Globals::GameTabs::TAB_STATS [3] = { { WIDGET_ROOT_FIXED, 57 }, { WIDGET_ROOT_RESIZABLE, 62 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 59 } }
 
const WidgetDef Globals::GameTabs::TAB_QUESTS [3] = { { WIDGET_ROOT_FIXED, 58 }, { WIDGET_ROOT_RESIZABLE, 63 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 60 } }
 
const WidgetDef Globals::GameTabs::TAB_INVENTORY [3] = { { WIDGET_ROOT_FIXED, 59 }, { WIDGET_ROOT_RESIZABLE, 64 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 61 } }
 
const WidgetDef Globals::GameTabs::TAB_EQUIPMENT [3] = { { WIDGET_ROOT_FIXED, 60 }, { WIDGET_ROOT_RESIZABLE, 65 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 62 } }
 
const WidgetDef Globals::GameTabs::TAB_PRAYER [3] = { { WIDGET_ROOT_FIXED, 61 }, { WIDGET_ROOT_RESIZABLE, 66 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 63 } }
 
const WidgetDef Globals::GameTabs::TAB_MAGIC [3] = { { WIDGET_ROOT_FIXED, 62 }, { WIDGET_ROOT_RESIZABLE, 67 }, { WIDGET_ROOT_RESIZABLE_SIDE_PANELS, 64 } }
 
const std::int32_t Globals::GameTabs::COMBAT_PARENT = 593
 
const WidgetDef Globals::GameTabs::COMBAT_AUTORETALIATE = { COMBAT_PARENT, 30 }
 
const WidgetDef Globals::GameTabs::COMBAT_SPECIAL = { COMBAT_PARENT, 36 }
 
const std::int32_t Globals::GameTabs::COMBAT_STYLE_CHILDREN [4] = { 4, 8, 12, 16 }
 
const std::int32_t Globals::GameTabs::EQUIPMENT_CONTAINER_ID = 94
 
const WidgetDef Globals::GameTabs::INVENTORY_ITEM_CONTAINER_WIDGET = { 149, 0 }
 
const WidgetDef Globals::GameTabs::INVENTORY_TRADE_CONTAINER_WIDGET = { 336, 0 }
 
const WidgetDef Globals::GameTabs::INVENTORY_EXCHANGE_CONTAINER_WIDGET = { 467, 0 }
 
const std::int32_t Globals::GameTabs::INVENTORY_CONTAINER_ID = 93
 
const std::int32_t Globals::GameTabs::LOGOUT_BUTTONS_PARENT = 182
 
const WidgetDef Globals::GameTabs::LOGOUT_LOGOUT_BUTTON = { LOGOUT_BUTTONS_PARENT, 8 }
 
const WidgetDef Globals::GameTabs::LOGOUT_WORLD_SWITCHER_BUTTON = { LOGOUT_BUTTONS_PARENT, 3 }
 
const std::int32_t Globals::GameTabs::LOGOUT_WORLD_SWITCHER_PARENT = 69
 
const WidgetDef Globals::GameTabs::LOGOUT_WORLD_SWITCHER_TITLE = { LOGOUT_WORLD_SWITCHER_PARENT, 2 }
 
const WidgetDef Globals::GameTabs::LOGOUT_WORLD_SWITCHER_LOGOUT = { LOGOUT_WORLD_SWITCHER_PARENT, 23 }
 
const WidgetDef Globals::GameTabs::LOGOUT_WORLD_SWITCHER_WORLDS_CONTAINER = { LOGOUT_WORLD_SWITCHER_PARENT, 16 }
 
const WidgetDef Globals::GameTabs::LOGOUT_WORLD_SWITCHER_WORLDS_BOX = { LOGOUT_WORLD_SWITCHER_PARENT, 5 }
 
const std::int32_t Globals::GameTabs::MAGIC_SPELLS_PARENT = 218
 
const std::vector< SpellDef > Globals::GameTabs::SpellDefs
 
const std::int32_t Globals::GameTabs::OPTIONS_PARENT = 261
 
const WidgetDef Globals::GameTabs::OPTIONS_ACCEPT_AID = { OPTIONS_PARENT, 100 }
 
const WidgetDef Globals::GameTabs::OPTIONS_RUN_MODE = { OPTIONS_PARENT, 103 }
 
const std::int32_t Globals::GameTabs::PRAYER_PRAYERS_PARENT = 541