AlpacaLibary  1.63
A closed source C++ bot for OSRS
Inventory Namespace Reference

Functions

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

Function Documentation

◆ Contains() [1/6]

bool Inventory::Contains ( const Interactable::Item Item)

◆ Contains() [2/6]

bool Inventory::Contains ( const std::string &  Name)

◆ Contains() [3/6]

bool Inventory::Contains ( const std::vector< Interactable::Item > &  Items)

◆ Contains() [4/6]

bool Inventory::Contains ( const std::vector< std::int32_t > &  IDs)

◆ Contains() [5/6]

bool Inventory::Contains ( const std::vector< std::string > &  Names)

◆ Contains() [6/6]

bool Inventory::Contains ( std::int32_t  ID)

◆ ContainsAny() [1/3]

bool Inventory::ContainsAny ( const std::vector< Interactable::Item > &  Items)

◆ ContainsAny() [2/3]

bool Inventory::ContainsAny ( const std::vector< std::int32_t > &  IDs)

◆ ContainsAny() [3/3]

bool Inventory::ContainsAny ( const std::vector< std::string > &  Names)

◆ ContainsOnly() [1/6]

bool Inventory::ContainsOnly ( const Interactable::Item Item)

◆ ContainsOnly() [2/6]

bool Inventory::ContainsOnly ( const std::string &  Name)

◆ ContainsOnly() [3/6]

bool Inventory::ContainsOnly ( const std::vector< Interactable::Item > &  Items)

◆ ContainsOnly() [4/6]

bool Inventory::ContainsOnly ( const std::vector< std::int32_t > &  IDs)

◆ ContainsOnly() [5/6]

bool Inventory::ContainsOnly ( const std::vector< std::string > &  Names)

◆ ContainsOnly() [6/6]

bool Inventory::ContainsOnly ( std::int32_t  ID)

◆ Count() [1/6]

std::int32_t Inventory::Count ( const Interactable::Item Item)

◆ Count() [2/6]

std::int32_t Inventory::Count ( const std::string &  Name)

◆ Count() [3/6]

std::int32_t Inventory::Count ( const std::vector< Interactable::Item > &  Items)

◆ Count() [4/6]

std::int32_t Inventory::Count ( const std::vector< std::int32_t > &  IDs)

◆ Count() [5/6]

std::int32_t Inventory::Count ( const std::vector< std::string > &  Names)

◆ Count() [6/6]

std::int32_t Inventory::Count ( std::int32_t  ID)

◆ CountEmpty()

std::int32_t Inventory::CountEmpty ( )

◆ CountOccupied()

std::int32_t Inventory::CountOccupied ( )

◆ Drop() [1/3]

bool Inventory::Drop ( const Interactable::Item Item,
bool  AllowShiftClick = true 
)

◆ Drop() [2/3]

bool Inventory::Drop ( const std::string &  Name,
bool  AllowShiftClick = true 
)

◆ Drop() [3/3]

bool Inventory::Drop ( std::int32_t  ID,
bool  AllowShiftClick = true 
)

◆ Equip() [1/3]

bool Inventory::Equip ( const Interactable::Item Item)

◆ Equip() [2/3]

bool Inventory::Equip ( const std::string &  Name)

◆ Equip() [3/3]

bool Inventory::Equip ( std::int32_t  ID)

◆ GetBoxesOf() [1/2]

std::vector<Box> Inventory::GetBoxesOf ( const std::string &  Name)

◆ GetBoxesOf() [2/2]

std::vector<Box> Inventory::GetBoxesOf ( std::int32_t  ID)

◆ GetIndexOf() [1/4]

std::int32_t Inventory::GetIndexOf ( const std::string &  Name)

◆ GetIndexOf() [2/4]

std::int32_t Inventory::GetIndexOf ( const std::vector< std::int32_t > &  IDs)

◆ GetIndexOf() [3/4]

std::int32_t Inventory::GetIndexOf ( const std::vector< std::string > &  Names)

◆ GetIndexOf() [4/4]

std::int32_t Inventory::GetIndexOf ( std::int32_t  ID)

◆ GetIndicesOf() [1/4]

std::vector<std::int32_t> Inventory::GetIndicesOf ( const std::string &  Name)

◆ GetIndicesOf() [2/4]

std::vector<std::int32_t> Inventory::GetIndicesOf ( const std::vector< std::int32_t > &  IDs)

◆ GetIndicesOf() [3/4]

std::vector<std::int32_t> Inventory::GetIndicesOf ( const std::vector< std::string > &  Names)

◆ GetIndicesOf() [4/4]

std::vector<std::int32_t> Inventory::GetIndicesOf ( std::int32_t  ID)

◆ GetItem() [1/5]

Interactable::Item Inventory::GetItem ( const std::function< bool(const Interactable::Item &)> &  Filter)

◆ GetItem() [2/5]

Interactable::Item Inventory::GetItem ( const std::string &  Name)

◆ GetItem() [3/5]

Interactable::Item Inventory::GetItem ( const std::vector< std::int32_t > &  IDs)

◆ GetItem() [4/5]

Interactable::Item Inventory::GetItem ( const std::vector< std::string > &  Names)

◆ GetItem() [5/5]

Interactable::Item Inventory::GetItem ( std::int32_t  ID)

◆ GetItemAmounts()

std::vector<std::int32_t> Inventory::GetItemAmounts ( )

◆ GetItemIDs()

std::vector<std::int32_t> Inventory::GetItemIDs ( )

◆ GetItemNames()

std::vector<std::string> Inventory::GetItemNames ( )

◆ GetItems() [1/6]

std::vector<Interactable::Item> Inventory::GetItems ( )

◆ GetItems() [2/6]

std::vector<Interactable::Item> Inventory::GetItems ( const std::function< bool(const Interactable::Item &)> &  Filter)

◆ GetItems() [3/6]

std::vector<Interactable::Item> Inventory::GetItems ( const std::string &  Name)

◆ GetItems() [4/6]

std::vector<Interactable::Item> Inventory::GetItems ( const std::vector< std::int32_t > &  IDs)

◆ GetItems() [5/6]

std::vector<Interactable::Item> Inventory::GetItems ( const std::vector< std::string > &  Names)

◆ GetItems() [6/6]

std::vector<Interactable::Item> Inventory::GetItems ( std::int32_t  ID)

◆ GetItemSelectedName()

std::string Inventory::GetItemSelectedName ( )

◆ GetSlotBoxes()

std::vector<Box> Inventory::GetSlotBoxes ( )

◆ GetTabHotkey()

std::int32_t Inventory::GetTabHotkey ( )

◆ IsEmpty()

bool Inventory::IsEmpty ( )

◆ IsFull()

bool Inventory::IsFull ( )

◆ IsItemSelected() [1/4]

bool Inventory::IsItemSelected ( )

◆ IsItemSelected() [2/4]

bool Inventory::IsItemSelected ( const Interactable::Item Item)

◆ IsItemSelected() [3/4]

bool Inventory::IsItemSelected ( const std::string &  Name)

◆ IsItemSelected() [4/4]

bool Inventory::IsItemSelected ( std::int32_t  ID)

◆ IsOpen()

bool Inventory::IsOpen ( )

◆ Open()

bool Inventory::Open ( bool  UseHotkey = false)

◆ Use() [1/3]

bool Inventory::Use ( const Interactable::Item Item,
const Interactable::Item Item2 = Interactable::Item(),
bool  UseSecondFirst = false 
)

◆ Use() [2/3]

bool Inventory::Use ( const std::string &  Name,
const std::string &  Name2 = "",
bool  UseSecondFirst = false 
)

◆ Use() [3/3]

bool Inventory::Use ( std::int32_t  ID,
std::int32_t  ID2 = -1,
bool  UseSecondFirst = false 
)