1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-05 02:07:46 +00:00
sapphire/src/world/Manager/LinkshellMgr.h

30 lines
609 B
C
Raw Normal View History

2018-12-02 02:01:41 +01:00
#ifndef SAPPHIRE_LINKSHELLMGR_H
#define SAPPHIRE_LINKSHELLMGR_H
2018-10-25 12:44:51 +11:00
#include <memory>
#include <map>
2018-12-02 02:01:41 +01:00
#include "ForwardsZone.h"
#include "BaseManager.h"
2018-12-02 02:01:41 +01:00
namespace Sapphire::World::Manager
2018-10-28 21:53:21 +01:00
{
class LinkshellMgr : public Manager::BaseManager
2018-10-28 21:53:21 +01:00
{
private:
std::map< uint64_t, LinkshellPtr > m_linkshellIdMap;
std::map< std::string, LinkshellPtr > m_linkshellNameMap;
2018-10-28 21:53:21 +01:00
LinkshellPtr getLinkshellByName( const std::string& name );
2018-10-28 21:53:21 +01:00
LinkshellPtr getLinkshellById( uint64_t lsId );
2017-08-28 23:43:52 +02:00
2018-10-28 21:53:21 +01:00
public:
LinkshellMgr( FrameworkPtr pFw );
2018-10-28 21:53:21 +01:00
bool loadLinkshells();
};
}
2018-12-02 02:01:41 +01:00
#endif //SAPPHIRE_LINKSHELLMGR_H