#ifndef WORLDS_HPP_INCLUDED #define WORLDS_HPP_INCLUDED #include "../../Core/Classes/World.hpp" #include #include #include #include /** @addtogroup Tools * @{ */ class Worlds { public: static bool Refresh(); static bool Refresh(bool ExitWorldSelection); static bool SwitchWorld(World World); static bool SwitchWorld(std::int32_t WorldID); static std::int32_t GetCurrent(); static std::vector GetAll(); static std::int32_t GetIndexOf(World World); static std::int32_t GetIndexOf(std::int32_t WorldID); static std::vector GetF2P(); static std::vector GetP2P(); static bool IsP2P(World World); static bool IsP2P(std::int32_t WorldID); static World GetBy(std::int32_t WorldID); static std::vector GetBy(const std::function& Filter); }; /** @} */ #endif // WORLDS_HPP_INCLUDED