1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-11 13:07:45 +00:00
sapphire/src/world/Manager/NaviMgr.h

29 lines
567 B
C
Raw Normal View History

2019-01-23 19:23:49 +01:00
#ifndef SAPPHIRE_NAVIMGR_H
#define SAPPHIRE_NAVIMGR_H
#include "ForwardsZone.h"
2019-01-23 19:23:49 +01:00
#include <array>
2023-02-05 08:41:32 +09:00
#include <string>
2019-01-23 19:23:49 +01:00
namespace Sapphire::World::Manager
{
2020-03-01 01:00:57 +11:00
class NaviMgr
2019-01-23 19:23:49 +01:00
{
public:
2020-03-01 01:00:57 +11:00
NaviMgr() = default;
2019-01-23 19:23:49 +01:00
virtual ~NaviMgr() = default;
2019-01-25 08:50:44 +01:00
bool setupTerritory( const std::string& bgPath );
Navi::NaviProviderPtr getNaviProvider( const std::string& bgPath );
2019-01-23 19:23:49 +01:00
private:
std::string getBgName( const std::string& bgPath );
std::unordered_map< std::string, Navi::NaviProviderPtr > m_naviProviderTerritoryMap;
2019-01-23 19:23:49 +01:00
};
}
#endif // SAPPHIRE_NAVIMGR_H