diff --git a/Include/Game/Interfaces/Bank.hpp b/Include/Game/Interfaces/Bank.hpp index 1805f7f..fd1d73a 100644 --- a/Include/Game/Interfaces/Bank.hpp +++ b/Include/Game/Interfaces/Bank.hpp @@ -64,12 +64,12 @@ class Bank static bool InteractItem(std::int32_t ID, const std::string& Option); static bool InteractItem(const std::string& Name, const std::string& Option); - static bool WithdrawXOf(std::int32_t ID, std::int32_t Amount); - static bool WithdrawXOf(const std::string& Name, std::int32_t Amount); - static bool WithdrawAllOf(std::int32_t ID); - static bool WithdrawAllOf(const std::string& Name); - static bool WithdrawAllButOneOf(std::int32_t ID); - static bool WithdrawAllButOneOf(const std::string& Name); + static bool WithdrawXOf(std::int32_t ID, std::int32_t Amount, bool OpenTab = false); + static bool WithdrawXOf(const std::string& Name, std::int32_t Amount, bool OpenTab = false); + static bool WithdrawAllOf(std::int32_t ID, bool OpenTab = false); + static bool WithdrawAllOf(const std::string& Name, bool OpenTab = false); + static bool WithdrawAllButOneOf(std::int32_t ID, bool OpenTab = false); + static bool WithdrawAllButOneOf(const std::string& Name, bool OpenTab = false); static bool DepositAllOf(std::int32_t ID); static bool DepositAllOf(const std::string& Name); diff --git a/Include/Game/Interfaces/GameTabs/Inventory.hpp b/Include/Game/Interfaces/GameTabs/Inventory.hpp index 2aaa995..31b8601 100644 --- a/Include/Game/Interfaces/GameTabs/Inventory.hpp +++ b/Include/Game/Interfaces/GameTabs/Inventory.hpp @@ -20,9 +20,6 @@ class Inventory static std::vector GetItemNames(); static std::vector GetItemAmounts(); - static std::int32_t GetItemAmount(std::int32_t ID); - static std::int32_t GetItemAmount(const std::string& Name); - static bool IsEmpty(); static bool IsFull(); @@ -81,7 +78,7 @@ class Inventory static bool InteractItemByIndex(std::int32_t Index, const std::vector& Options); static bool InteractItem(std::int32_t ID, const std::string& Option); static bool InteractItem(const std::string& Name, const std::string& Option); - static bool InteractItem(const std::vector& IDs, const std::vector& Options); //Interacts with first found ID + static bool InteractItem(const std::vector& IDs, const std::vector& Options); //Interacts with first found ID static bool InteractItem(const std::vector& Names, const std::vector& Options); //Interacts with first found Name static bool DropItemByIndex(std::int32_t Index, bool AllowShiftClick = true); diff --git a/Library/libAlpacaLibrary.a b/Library/libAlpacaLibrary.a index 4bb29ff..22c4b32 100644 Binary files a/Library/libAlpacaLibrary.a and b/Library/libAlpacaLibrary.a differ