2017-12-25 23:49:48 +00:00
|
|
|
#ifndef LOGOUT_HPP_INCLUDED
|
|
|
|
#define LOGOUT_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "../../../Core/Types/Box.hpp"
|
|
|
|
#include "../../../Core/Classes/World.hpp"
|
|
|
|
#include "../../../Core/Classes/Widget.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
/** @addtogroup GameTabs
|
|
|
|
* @{ */
|
|
|
|
class Logout
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static bool IsOpen();
|
|
|
|
static bool Open();
|
|
|
|
static bool LogoutPlayer();
|
|
|
|
|
|
|
|
static bool IsWorldSwitcherOpen();
|
2018-03-20 04:35:47 +00:00
|
|
|
static bool OpenWorldSwitcher(bool OpenInventory = false);
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static bool WorldSwitcherScrollTo(Internal::World World);
|
2017-12-25 23:49:48 +00:00
|
|
|
static bool WorldSwitcherScrollTo(std::int32_t WorldID);
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static bool SwitchWorld(Internal::World World);
|
2017-12-25 23:49:48 +00:00
|
|
|
static bool SwitchWorld(std::int32_t WorldID);
|
|
|
|
|
2018-03-20 04:35:47 +00:00
|
|
|
static std::vector<std::uint32_t> GetFavoriteWorlds();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Internal::Widget GetWorldWidget(Internal::World World);
|
|
|
|
static Internal::Widget GetWorldWidget(std::int32_t WorldID);
|
2018-03-20 04:35:47 +00:00
|
|
|
static Internal::Widget GetFavoriteWorldWidget(std::int32_t WorldID);
|
2017-12-25 23:49:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#endif // LOGOUT_HPP_INCLUDED
|