AlpacaLibary
1.63
A closed source C++ bot for OSRS
|
Typedefs | |
typedef std::int32_t | SLOT |
typedef enum Exchange::SLOT_STATE | SLOT_STATE |
typedef enum Exchange::SLOT_MODE | SLOT_MODE |
typedef enum Exchange::COLLECT_METHOD | COLLECT_METHOD |
typedef enum Exchange::COLLECT_SLOT | COLLECT_SLOT |
Enumerations | |
enum | SLOT_STATE { STATE_EMPTY = 0 , STARTING_BUY_OFFER = 1 , BUY_OFFER_INCOMPLETE = 2 , BUY_OFFER_UPDATING = 3 , BUY_OFFER_CANCELING = 4 , BUY_OFFER_COMPLETE = 5 , STARTING_SELL_OFFER = 9 , SELL_OFFER_INCOMPLETE = 10 , SELL_OFFER_UPDATING = 11 , SELL_OFFER_CANCELING = 12 , SELL_OFFER_COMPLETE = 13 , STATE_DISABLED = 14 , STATE_UNDEFINED = 15 } |
enum | SLOT_MODE { BUY = 0 , SELL = 1 , MODE_DISABLED = 2 , MODE_UNDEFINED = 3 } |
enum | COLLECT_METHOD { ITEM , NOTE , BANK } |
enum | COLLECT_SLOT { ONE , TWO } |
Functions | |
bool | IsOpen () |
bool | Open () |
bool | Close () |
SLOT_STATE | GetSlotState (const Exchange::SLOT Slot) |
bool | SlotOccupied (const Exchange::SLOT Slot) |
std::vector< SLOT_STATE > | GetAllSlotStates () |
bool | AllSlotsOccupied () |
std::int32_t | GetOfferIndex () |
SLOT_MODE | GetOfferMode () |
std::int32_t | GetOfferItemID () |
std::string | GetOfferItemName () |
std::int32_t | GetOfferAmount () |
std::int32_t | GetOfferPrice () |
bool | IsOfferOpen () |
bool | CloseOffer () |
bool | IsOffersOpen () |
bool | SlotUsable (const Exchange::SLOT Slot) |
bool | CanCollect () |
bool | CollectAll (const bool Inventory=true) |
bool | Collect (const Exchange::COLLECT_METHOD Method=Exchange::BANK) |
bool | IsBuyOfferOpen () |
bool | IsSellOfferOpen () |
bool | OpenBuyOffer (const Exchange::SLOT Slot=-1) |
bool | OpenSellOffer (const Exchange::SLOT Slot=-1) |
Exchange::SLOT | GetBuyOffer (std::int32_t ID) |
Exchange::SLOT | GetBuyOffer (const std::string &Name) |
Exchange::SLOT | GetBuyOffer (const std::function< bool(const Internal::ExchangeOffer &)> &Filter) |
std::vector< Exchange::SLOT > | GetBuyOffers (std::int32_t ID) |
std::vector< Exchange::SLOT > | GetBuyOffers (const std::string &Name) |
std::vector< Exchange::SLOT > | GetBuyOffers (const std::function< bool(const Internal::ExchangeOffer &)> &Filter) |
Exchange::SLOT | GetSellOffer (std::int32_t ID) |
Exchange::SLOT | GetSellOffer (const std::string &Name) |
Exchange::SLOT | GetSellOffer (const std::function< bool(const Internal::ExchangeOffer &)> &Filter) |
std::vector< Exchange::SLOT > | GetSellOffers (std::int32_t ID) |
std::vector< Exchange::SLOT > | GetSellOffers (const std::string &Name) |
std::vector< Exchange::SLOT > | GetSellOffers (const std::function< bool(const Internal::ExchangeOffer &)> &Filter) |
bool | SetSellItem (const std::string &Name) |
bool | SetSellItem (std::int32_t ID) |
bool | SetBuyItem (const std::string &Name) |
bool | SetOfferAmount (std::uint32_t Amount) |
bool | SetOfferPrice (std::uint32_t Price) |
bool | SetOfferGuidePrice () |
bool | ConfirmOffer () |
std::string | GetCollectSlotName (Exchange::COLLECT_SLOT Slot) |
std::int32_t | GetCollectSlotID (Exchange::COLLECT_SLOT Slot) |
std::int32_t | GetCollectSlotAmount (Exchange::COLLECT_SLOT Slot) |
bool | AbortOffer (const Exchange::SLOT Slot=-1) |
bool | OpenOffer (const Exchange::SLOT Slot) |
typedef enum Exchange::COLLECT_METHOD Exchange::COLLECT_METHOD |
typedef enum Exchange::COLLECT_SLOT Exchange::COLLECT_SLOT |
typedef std::int32_t Exchange::SLOT |
Definition at line 12 of file Exchange.hpp.
typedef enum Exchange::SLOT_MODE Exchange::SLOT_MODE |
typedef enum Exchange::SLOT_STATE Exchange::SLOT_STATE |
Enumerator | |
---|---|
ITEM | |
NOTE | |
BANK |
Definition at line 39 of file Exchange.hpp.
Enumerator | |
---|---|
ONE | |
TWO |
Definition at line 98 of file Exchange.hpp.
enum Exchange::SLOT_MODE |
Enumerator | |
---|---|
BUY | |
SELL | |
MODE_DISABLED | |
MODE_UNDEFINED |
Definition at line 31 of file Exchange.hpp.
enum Exchange::SLOT_STATE |
Definition at line 14 of file Exchange.hpp.
bool Exchange::AbortOffer | ( | const Exchange::SLOT | Slot = -1 | ) |
bool Exchange::AllSlotsOccupied | ( | ) |
bool Exchange::CanCollect | ( | ) |
bool Exchange::Close | ( | ) |
bool Exchange::CloseOffer | ( | ) |
bool Exchange::Collect | ( | const Exchange::COLLECT_METHOD | Method = Exchange::BANK | ) |
bool Exchange::CollectAll | ( | const bool | Inventory = true | ) |
bool Exchange::ConfirmOffer | ( | ) |
std::vector<SLOT_STATE> Exchange::GetAllSlotStates | ( | ) |
Exchange::SLOT Exchange::GetBuyOffer | ( | const std::function< bool(const Internal::ExchangeOffer &)> & | Filter | ) |
Exchange::SLOT Exchange::GetBuyOffer | ( | const std::string & | Name | ) |
Exchange::SLOT Exchange::GetBuyOffer | ( | std::int32_t | ID | ) |
std::vector<Exchange::SLOT> Exchange::GetBuyOffers | ( | const std::function< bool(const Internal::ExchangeOffer &)> & | Filter | ) |
std::vector<Exchange::SLOT> Exchange::GetBuyOffers | ( | const std::string & | Name | ) |
std::vector<Exchange::SLOT> Exchange::GetBuyOffers | ( | std::int32_t | ID | ) |
std::int32_t Exchange::GetCollectSlotAmount | ( | Exchange::COLLECT_SLOT | Slot | ) |
std::int32_t Exchange::GetCollectSlotID | ( | Exchange::COLLECT_SLOT | Slot | ) |
std::string Exchange::GetCollectSlotName | ( | Exchange::COLLECT_SLOT | Slot | ) |
std::int32_t Exchange::GetOfferAmount | ( | ) |
std::int32_t Exchange::GetOfferIndex | ( | ) |
std::int32_t Exchange::GetOfferItemID | ( | ) |
std::string Exchange::GetOfferItemName | ( | ) |
SLOT_MODE Exchange::GetOfferMode | ( | ) |
std::int32_t Exchange::GetOfferPrice | ( | ) |
Exchange::SLOT Exchange::GetSellOffer | ( | const std::function< bool(const Internal::ExchangeOffer &)> & | Filter | ) |
Exchange::SLOT Exchange::GetSellOffer | ( | const std::string & | Name | ) |
Exchange::SLOT Exchange::GetSellOffer | ( | std::int32_t | ID | ) |
std::vector<Exchange::SLOT> Exchange::GetSellOffers | ( | const std::function< bool(const Internal::ExchangeOffer &)> & | Filter | ) |
std::vector<Exchange::SLOT> Exchange::GetSellOffers | ( | const std::string & | Name | ) |
std::vector<Exchange::SLOT> Exchange::GetSellOffers | ( | std::int32_t | ID | ) |
SLOT_STATE Exchange::GetSlotState | ( | const Exchange::SLOT | Slot | ) |
bool Exchange::IsBuyOfferOpen | ( | ) |
bool Exchange::IsOfferOpen | ( | ) |
bool Exchange::IsOffersOpen | ( | ) |
bool Exchange::IsOpen | ( | ) |
bool Exchange::IsSellOfferOpen | ( | ) |
bool Exchange::Open | ( | ) |
bool Exchange::OpenBuyOffer | ( | const Exchange::SLOT | Slot = -1 | ) |
bool Exchange::OpenOffer | ( | const Exchange::SLOT | Slot | ) |
bool Exchange::OpenSellOffer | ( | const Exchange::SLOT | Slot = -1 | ) |
bool Exchange::SetBuyItem | ( | const std::string & | Name | ) |
bool Exchange::SetOfferAmount | ( | std::uint32_t | Amount | ) |
bool Exchange::SetOfferGuidePrice | ( | ) |
bool Exchange::SetOfferPrice | ( | std::uint32_t | Price | ) |
bool Exchange::SetSellItem | ( | const std::string & | Name | ) |
bool Exchange::SetSellItem | ( | std::int32_t | ID | ) |
bool Exchange::SlotOccupied | ( | const Exchange::SLOT | Slot | ) |
bool Exchange::SlotUsable | ( | const Exchange::SLOT | Slot | ) |