2022-01-23 11:04:26 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
|
|
|
#include <ForwardsZone.h>
|
|
|
|
#include <Util/Util.h>
|
2022-01-27 21:08:43 +01:00
|
|
|
#include <unordered_map>
|
2022-01-23 11:04:26 +01:00
|
|
|
|
|
|
|
namespace Sapphire::World::Manager
|
|
|
|
{
|
|
|
|
|
2022-01-27 21:08:43 +01:00
|
|
|
struct WarpInfo
|
|
|
|
{
|
|
|
|
uint32_t targetTerritoryId;
|
|
|
|
Common::WarpType m_warpType;
|
|
|
|
};
|
|
|
|
|
2022-01-23 11:04:26 +01:00
|
|
|
class WarpMgr
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
WarpMgr() = default;
|
|
|
|
|
2022-01-27 21:08:43 +01:00
|
|
|
private:
|
|
|
|
std::unordered_map< uint32_t, std::shared_ptr< WarpInfo > > m_entityIdToWarpInfoMap;
|
|
|
|
|
2022-01-23 11:04:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|