Release 0.30

master
Kasi 2018-04-16 04:53:24 +01:00
parent d7f6f0a82a
commit b86b17e665
5 changed files with 23 additions and 4 deletions

View File

@ -241,6 +241,7 @@ namespace Internal
std::string GetItemName(std::int32_t ID);
std::vector<Box> GetBlockingWidgetBoxes();
std::int32_t GetHealthPercentage(const Internal::Character& C);
std::vector<Widget> GetWidgets(std::int32_t Container);
}
#endif // INTERNAL_HPP_INCLUDED

View File

@ -26,6 +26,8 @@ namespace Interactable
bool Interacting() const;
bool Interacting(const Internal::Character& C) const;
bool Interact(const std::string& Option) const;
operator Internal::NPC() const;
};
}

View File

@ -14,6 +14,19 @@
class Bank
{
public:
typedef enum WITHDRAW_MODE
{
ITEM,
NOTED
} WITHDRAW_MODE;
typedef enum REARRANGE_MODE
{
SWAP,
INSERT
} REARRANGE_MODE;
/**
* @brief Returns true if the Bank is currently Open
* @return True if the Bank is currently Open
@ -279,6 +292,9 @@ class Bank
static bool DepositAllExcept(const std::vector<std::int32_t> IDs);
static bool DepositAll();
static bool DepositEquipment();
static WITHDRAW_MODE GetWithdrawMode();
};
/** @} */

View File

@ -53,14 +53,14 @@ class Widgets
/**
* @brief Returns a vector of All Loaded Widgets
* @code std::vector<Widget> Widgets = Widgets::GetAll(); @endcode
* @code std::vector<std::vector<Internal::Widget>> Widgets = Widgets::GetAll(); @endcode
*/
static std::vector<Internal::Widget> GetAll();
static std::vector<std::vector<Internal::Widget>> GetAll();
/**
* @brief Returns the specified Widget by Parent ID
* @code Widget BankParent = Widgets::Get(15); @endcode
* @code std::vector<Internal::Widget> BankParent = Widgets::Get(15); @endcode
*/
static Internal::Widget Get(std::int32_t Parent);
static std::vector<Internal::Widget> Get(std::int32_t Parent);
/**
* @brief Returns the specified Widget by Parent, and Child ID
* @code Widget BankInventory = Widgets::Get(15, 3); @endcode

Binary file not shown.