Release 0.74

master
Kasi 2018-07-21 09:43:19 +01:00
parent 4e2056146e
commit c6e6b17cd3
3 changed files with 19 additions and 9 deletions

View File

@ -127,6 +127,7 @@ namespace Internal
std::int32_t GetGameTick(); std::int32_t GetGameTick();
Deque GetGraphicsObjects(); Deque GetGraphicsObjects();
std::vector<std::vector<std::vector<Deque>>> GetGroundItems(); std::vector<std::vector<std::vector<Deque>>> GetGroundItems();
bool GetIsMember();
HashTable GetItemContainers(); HashTable GetItemContainers();
IndexableData GetItemIndexableData(); IndexableData GetItemIndexableData();
Cache GetItemInfoCache(); Cache GetItemInfoCache();

View File

@ -13,7 +13,7 @@ class Exchange
typedef enum SLOT_STATE typedef enum SLOT_STATE
{ {
EMPTY = 0, STATE_EMPTY = 0,
STARTING_BUY_OFFER = 1, STARTING_BUY_OFFER = 1,
BUY_OFFER_INCOMPLETE = 2, BUY_OFFER_INCOMPLETE = 2,
BUY_OFFER_UPDATING = 3, BUY_OFFER_UPDATING = 3,
@ -24,31 +24,40 @@ class Exchange
SELL_OFFER_UPDATING = 11, SELL_OFFER_UPDATING = 11,
SELL_OFFER_CANCELING = 12, SELL_OFFER_CANCELING = 12,
SELL_OFFER_COMPLETE = 13, SELL_OFFER_COMPLETE = 13,
STATE_UNDEFINED = 14 STATE_DISABLED = 14,
STATE_UNDEFINED = 15
} SLOT_STATE; } SLOT_STATE;
typedef enum SLOT_MODE typedef enum SLOT_MODE
{ {
BUY = 0, BUY = 0,
SELL = 1, SELL = 1,
MODE_UNDEFINED = 2 MODE_DISABLED = 2,
MODE_UNDEFINED = 3
} SLOT_MODE; } SLOT_MODE;
static bool IsOpen(); static bool IsOpen();
static bool Open();
static bool Close(); static bool Close();
static SLOT_STATE GetSlotState(const std::uint32_t Slot); static SLOT_STATE GetSlotState(const std::uint32_t Slot);
static bool SlotOccupied(const std::uint32_t Slot); static bool SlotOccupied(const std::uint32_t Slot);
static std::vector<SLOT_STATE> GetAllSlotStates(); static std::vector<SLOT_STATE> GetAllSlotStates();
static bool AllSlotsOccupied(); static bool AllSlotsOccupied();
static std::int32_t GetCurrentSlotIndex(); static std::int32_t GetOfferIndex();
static SLOT_MODE GetCurrentSlotMode(); static SLOT_MODE GetOfferMode();
static std::int32_t GetCurrentSlotItemID(); static std::int32_t GetOfferItemID();
static std::string GetCurrentSlotItemName(); static std::string GetOfferItemName();
static std::int32_t GetCurrentSlotAmount(); static std::int32_t GetOfferAmount();
static std::int32_t GetCurrentSlotPrice(); static std::int32_t GetOfferPrice();
static bool OfferOpen(); static bool OfferOpen();
static bool CloseOffer(); static bool CloseOffer();
static bool OffersOpen();
static bool SlotUseble(const std::uint32_t Slot);
static bool CanCollect();
static bool Collect(const bool Inventory = true);
static bool OpenBuyOffer();
static bool OpenSellOffer();
}; };
/** @} */ /** @} */

Binary file not shown.