AlpacaLibary  1.63
A closed source C++ bot for OSRS
Inventory.hpp File Reference
#include "../../../Core/Types/Box.hpp"
#include "../../../Core/Types/Convex.hpp"
#include "../../../Game/Interactable/Item.hpp"
#include <functional>
#include <vector>
#include <cstdint>
#include <string>

Go to the source code of this file.

Namespaces

 Inventory
 

Functions

bool Inventory::IsOpen ()
 
bool Inventory::Open (bool UseHotkey=false)
 
std::int32_t Inventory::GetTabHotkey ()
 
std::vector< std::int32_t > Inventory::GetItemIDs ()
 
std::vector< std::string > Inventory::GetItemNames ()
 
std::vector< std::int32_t > Inventory::GetItemAmounts ()
 
std::vector< Interactable::ItemInventory::GetItems ()
 
std::vector< Interactable::ItemInventory::GetItems (std::int32_t ID)
 
std::vector< Interactable::ItemInventory::GetItems (const std::string &Name)
 
std::vector< Interactable::ItemInventory::GetItems (const std::vector< std::int32_t > &IDs)
 
std::vector< Interactable::ItemInventory::GetItems (const std::vector< std::string > &Names)
 
std::vector< Interactable::ItemInventory::GetItems (const std::function< bool(const Interactable::Item &)> &Filter)
 
Interactable::Item Inventory::GetItem (std::int32_t ID)
 
Interactable::Item Inventory::GetItem (const std::string &Name)
 
Interactable::Item Inventory::GetItem (const std::vector< std::int32_t > &IDs)
 
Interactable::Item Inventory::GetItem (const std::vector< std::string > &Names)
 
Interactable::Item Inventory::GetItem (const std::function< bool(const Interactable::Item &)> &Filter)
 
bool Inventory::IsEmpty ()
 
bool Inventory::IsFull ()
 
bool Inventory::IsItemSelected ()
 
bool Inventory::IsItemSelected (std::int32_t ID)
 
bool Inventory::IsItemSelected (const std::string &Name)
 
bool Inventory::IsItemSelected (const Interactable::Item &Item)
 
std::string Inventory::GetItemSelectedName ()
 
std::int32_t Inventory::Count (std::int32_t ID)
 
std::int32_t Inventory::Count (const std::string &Name)
 
std::int32_t Inventory::Count (const Interactable::Item &Item)
 
std::int32_t Inventory::Count (const std::vector< std::int32_t > &IDs)
 
std::int32_t Inventory::Count (const std::vector< std::string > &Names)
 
std::int32_t Inventory::Count (const std::vector< Interactable::Item > &Items)
 
std::int32_t Inventory::CountOccupied ()
 
std::int32_t Inventory::CountEmpty ()
 
std::int32_t Inventory::GetIndexOf (std::int32_t ID)
 
std::int32_t Inventory::GetIndexOf (const std::string &Name)
 
std::int32_t Inventory::GetIndexOf (const std::vector< std::int32_t > &IDs)
 
std::int32_t Inventory::GetIndexOf (const std::vector< std::string > &Names)
 
std::vector< std::int32_t > Inventory::GetIndicesOf (std::int32_t ID)
 
std::vector< std::int32_t > Inventory::GetIndicesOf (const std::string &Name)
 
std::vector< std::int32_t > Inventory::GetIndicesOf (const std::vector< std::int32_t > &IDs)
 
std::vector< std::int32_t > Inventory::GetIndicesOf (const std::vector< std::string > &Names)
 
std::vector< BoxInventory::GetSlotBoxes ()
 
std::vector< BoxInventory::GetBoxesOf (std::int32_t ID)
 
std::vector< BoxInventory::GetBoxesOf (const std::string &Name)
 
bool Inventory::Contains (std::int32_t ID)
 
bool Inventory::Contains (const std::string &Name)
 
bool Inventory::Contains (const Interactable::Item &Item)
 
bool Inventory::Contains (const std::vector< std::int32_t > &IDs)
 
bool Inventory::Contains (const std::vector< std::string > &Names)
 
bool Inventory::Contains (const std::vector< Interactable::Item > &Items)
 
bool Inventory::ContainsAny (const std::vector< std::int32_t > &IDs)
 
bool Inventory::ContainsAny (const std::vector< std::string > &Names)
 
bool Inventory::ContainsAny (const std::vector< Interactable::Item > &Items)
 
bool Inventory::ContainsOnly (std::int32_t ID)
 
bool Inventory::ContainsOnly (const std::string &Name)
 
bool Inventory::ContainsOnly (const Interactable::Item &Item)
 
bool Inventory::ContainsOnly (const std::vector< std::int32_t > &IDs)
 
bool Inventory::ContainsOnly (const std::vector< std::string > &Names)
 
bool Inventory::ContainsOnly (const std::vector< Interactable::Item > &Items)
 
bool Inventory::Use (std::int32_t ID, std::int32_t ID2=-1, bool UseSecondFirst=false)
 
bool Inventory::Use (const std::string &Name, const std::string &Name2="", bool UseSecondFirst=false)
 
bool Inventory::Use (const Interactable::Item &Item, const Interactable::Item &Item2=Interactable::Item(), bool UseSecondFirst=false)
 
bool Inventory::Equip (std::int32_t ID)
 
bool Inventory::Equip (const std::string &Name)
 
bool Inventory::Equip (const Interactable::Item &Item)
 
bool Inventory::Drop (std::int32_t ID, bool AllowShiftClick=true)
 
bool Inventory::Drop (const std::string &Name, bool AllowShiftClick=true)
 
bool Inventory::Drop (const Interactable::Item &Item, bool AllowShiftClick=true)