1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-04 17:57:47 +00:00
sapphire/src/world/Manager/LinkshellMgr.h

29 lines
609 B
C++

#ifndef SAPPHIRE_LINKSHELLMGR_H
#define SAPPHIRE_LINKSHELLMGR_H
#include <memory>
#include <map>
#include "ForwardsZone.h"
#include "BaseManager.h"
namespace Sapphire::World::Manager
{
class LinkshellMgr : public Manager::BaseManager
{
private:
std::map< uint64_t, LinkshellPtr > m_linkshellIdMap;
std::map< std::string, LinkshellPtr > m_linkshellNameMap;
LinkshellPtr getLinkshellByName( const std::string& name );
LinkshellPtr getLinkshellById( uint64_t lsId );
public:
LinkshellMgr( FrameworkPtr pFw );
bool loadLinkshells();
};
}
#endif //SAPPHIRE_LINKSHELLMGR_H