mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 10:47:45 +00:00
28 lines
536 B
C++
28 lines
536 B
C++
#ifndef SAPPHIRE_LINKSHELLMGR_H
|
|
#define SAPPHIRE_LINKSHELLMGR_H
|
|
|
|
#include <memory>
|
|
#include <map>
|
|
#include "ForwardsZone.h"
|
|
|
|
namespace Sapphire::World::Manager
|
|
{
|
|
|
|
class LinkshellMgr
|
|
{
|
|
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();
|
|
|
|
bool loadLinkshells();
|
|
};
|
|
|
|
}
|
|
#endif //SAPPHIRE_LINKSHELLMGR_H
|