Release 0.30
parent
d7f6f0a82a
commit
b86b17e665
|
@ -241,6 +241,7 @@ namespace Internal
|
||||||
std::string GetItemName(std::int32_t ID);
|
std::string GetItemName(std::int32_t ID);
|
||||||
std::vector<Box> GetBlockingWidgetBoxes();
|
std::vector<Box> GetBlockingWidgetBoxes();
|
||||||
std::int32_t GetHealthPercentage(const Internal::Character& C);
|
std::int32_t GetHealthPercentage(const Internal::Character& C);
|
||||||
|
std::vector<Widget> GetWidgets(std::int32_t Container);
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif // INTERNAL_HPP_INCLUDED
|
#endif // INTERNAL_HPP_INCLUDED
|
||||||
|
|
|
@ -26,6 +26,8 @@ namespace Interactable
|
||||||
bool Interacting() const;
|
bool Interacting() const;
|
||||||
bool Interacting(const Internal::Character& C) const;
|
bool Interacting(const Internal::Character& C) const;
|
||||||
|
|
||||||
|
bool Interact(const std::string& Option) const;
|
||||||
|
|
||||||
operator Internal::NPC() const;
|
operator Internal::NPC() const;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,19 @@
|
||||||
class Bank
|
class Bank
|
||||||
{
|
{
|
||||||
public:
|
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
|
* @brief Returns true if the Bank is currently Open
|
||||||
* @return 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 DepositAllExcept(const std::vector<std::int32_t> IDs);
|
||||||
static bool DepositAll();
|
static bool DepositAll();
|
||||||
static bool DepositEquipment();
|
static bool DepositEquipment();
|
||||||
|
|
||||||
|
static WITHDRAW_MODE GetWithdrawMode();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -53,14 +53,14 @@ class Widgets
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns a vector of All Loaded 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
|
* @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
|
* @brief Returns the specified Widget by Parent, and Child ID
|
||||||
* @code Widget BankInventory = Widgets::Get(15, 3); @endcode
|
* @code Widget BankInventory = Widgets::Get(15, 3); @endcode
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue