diff --git a/Include/Core/Script.hpp b/Include/Core/Script.hpp index 0ceb52b..22507a9 100644 --- a/Include/Core/Script.hpp +++ b/Include/Core/Script.hpp @@ -12,6 +12,7 @@ extern void Setup(); extern bool OnStart(); extern bool Loop(); extern void OnEnd(); +extern bool OnBreak(); typedef struct { diff --git a/Include/Game/Interfaces/Bank.hpp b/Include/Game/Interfaces/Bank.hpp index 77548ad..0ee5a1a 100644 --- a/Include/Game/Interfaces/Bank.hpp +++ b/Include/Game/Interfaces/Bank.hpp @@ -39,7 +39,7 @@ class Bank } PIN_STEP; static bool IsOpen(); - static bool Close(); + static bool Close(bool AllowEsc = true); static std::vector GetItemIDs(); static std::vector GetItemNames(); diff --git a/Include/Game/Interfaces/DepositBox.hpp b/Include/Game/Interfaces/DepositBox.hpp index 6fd48b1..e038c23 100644 --- a/Include/Game/Interfaces/DepositBox.hpp +++ b/Include/Game/Interfaces/DepositBox.hpp @@ -7,7 +7,7 @@ class DepositBox { public: static bool IsOpen(); - static bool Close(); + static bool Close(bool AllowEsc = true); static bool DepositAll(); static bool DepositEquipment(); diff --git a/Include/Game/Tools/BreakHandler.hpp b/Include/Game/Tools/BreakHandler.hpp index f5437fc..5c2063a 100644 --- a/Include/Game/Tools/BreakHandler.hpp +++ b/Include/Game/Tools/BreakHandler.hpp @@ -10,9 +10,10 @@ class BreakHandler static Counter GetBreakCounter(); static Timer GetBreakTimer(); + static bool MiniBreak(bool Logout = true); static bool ShortBreak(bool Logout = true); static bool LongBreak(bool Logout = true); - static bool Break(bool Logout = true); + static bool Break(bool LogoutOnLong = true, bool LogoutOnShort = true, bool LogoutOnMini = false); }; #endif // BREAKHANDLER_HPP_INCLUDED diff --git a/Library/libAlpacaLibrary.a b/Library/libAlpacaLibrary.a index 980a91a..947ec50 100644 Binary files a/Library/libAlpacaLibrary.a and b/Library/libAlpacaLibrary.a differ