#ifndef WORLDS_HPP_INCLUDED #define WORLDS_HPP_INCLUDED #include "../../Core/Classes/World.hpp" #include #include #include #include namespace Worlds { bool Refresh(); bool SwitchWorld(const Internal::World& World); bool SwitchWorld(std::int32_t WorldID); std::int32_t GetCurrent(); std::vector GetAll(); std::int32_t GetIndexOf(const Internal::World& World); std::int32_t GetIndexOf(std::int32_t WorldID); std::vector GetF2P(); std::vector GetP2P(); bool IsP2P(const Internal::World& World); bool IsP2P(std::int32_t WorldID); Internal::World GetBy(std::int32_t WorldID); std::vector GetBy(const std::function& Filter); } #endif // WORLDS_HPP_INCLUDED