AlpacaLibrary/Include/Game/Interfaces/GameTabs/Logout.hpp

34 lines
852 B
C++
Raw Normal View History

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"
2018-09-27 23:35:31 +00:00
#include "../../../Game/Interactable/Widget.hpp"
2017-12-25 23:49:48 +00:00
#include <cstdint>
#include <vector>
/** @addtogroup GameTabs
* @{ */
2018-12-27 18:17:09 +00:00
namespace Logout
2017-12-25 23:49:48 +00:00
{
2018-12-27 18:17:09 +00:00
bool IsOpen();
bool Open();
bool LogoutPlayer();
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
bool IsWorldSwitcherOpen(bool WaitToLoadWorlds = true);
bool OpenWorldSwitcher(bool WaitToLoadWorlds = true);
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
bool WorldSwitcherScrollTo(const Internal::World& World);
bool WorldSwitcherScrollTo(std::int32_t WorldID);
2017-12-25 23:49:48 +00:00
2019-01-29 20:07:44 +00:00
bool SwitchWorld(const Internal::World& World);
bool SwitchWorld(std::int32_t WorldID);
2017-12-25 23:49:48 +00:00
2018-12-27 18:17:09 +00:00
Interactable::Widget GetWorldWidget(const Internal::World& World);
Interactable::Widget GetWorldWidget(std::int32_t WorldID);
2018-12-31 21:52:58 +00:00
}
2017-12-25 23:49:48 +00:00
/** @} */
#endif // LOGOUT_HPP_INCLUDED