2019-01-23 19:23:49 +01:00
|
|
|
#ifndef SAPPHIRE_NAVIMGR_H
|
|
|
|
#define SAPPHIRE_NAVIMGR_H
|
|
|
|
|
2019-01-24 12:10:31 +01:00
|
|
|
#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:
|
2019-01-25 22:47:50 +11:00
|
|
|
std::string getBgName( const std::string& bgPath );
|
|
|
|
|
2019-01-24 12:10:31 +01:00
|
|
|
std::unordered_map< std::string, Navi::NaviProviderPtr > m_naviProviderTerritoryMap;
|
2019-01-23 19:23:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // SAPPHIRE_NAVIMGR_H
|