AlpacaLibary  1.63
A closed source C++ bot for OSRS
Logout.hpp
Go to the documentation of this file.
1 #ifndef LOGOUT_HPP_INCLUDED
2 #define LOGOUT_HPP_INCLUDED
3 
4 #include "../../../Core/Types/Box.hpp"
5 #include "../../../Core/Classes/World.hpp"
6 #include "../../../Game/Interactable/Widget.hpp"
7 #include <cstdint>
8 #include <vector>
9 
10 namespace Logout
11 {
12  bool IsOpen();
13  bool Open(bool UseHotkey = false);
14  std::int32_t GetTabHotkey();
15  bool LogoutPlayer();
16 
17  bool IsWorldSwitcherOpen(bool WaitToLoadWorlds = true);
18  bool OpenWorldSwitcher(bool WaitToLoadWorlds = true);
19 
21  bool WorldSwitcherScrollTo(std::int32_t WorldID);
22 
23  bool SwitchWorld(const Internal::World& World);
24  bool SwitchWorld(std::int32_t WorldID);
25 
27  Interactable::Widget GetWorldWidget(std::int32_t WorldID);
28 }
29 
30 #endif // LOGOUT_HPP_INCLUDED
std::int32_t GetTabHotkey()
bool OpenWorldSwitcher(bool WaitToLoadWorlds=true)
bool IsOpen()
bool LogoutPlayer()
bool WorldSwitcherScrollTo(const Internal::World &World)
bool SwitchWorld(const Internal::World &World)
bool IsWorldSwitcherOpen(bool WaitToLoadWorlds=true)
bool Open(bool UseHotkey=false)
Interactable::Widget GetWorldWidget(const Internal::World &World)