1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

Slight reformatting

This commit is contained in:
Mordred 2018-11-30 23:57:06 +01:00
parent 7b0c0b7de3
commit e9d0b67354

View file

@ -19,19 +19,18 @@ namespace Sapphire::Data
namespace Sapphire::World::Manager namespace Sapphire::World::Manager
{ {
/*! /*!
\class TerritoryMgr_c \class TerritoryMgr_c
\brief A class managing zones \brief A class managing zones
This class manages persistent and temporary instances alike. This class manages persistent and temporary instances alike.
*/ */
class TerritoryMgr class TerritoryMgr
{ {
public: public:
enum TerritoryIntendedUse : enum TerritoryIntendedUse : uint8_t //TODO: Add the rest of the territory types and have better names for them
uint8_t //TODO: Add the rest of the territory types and have better names for them
{ {
Town = 0, Town = 0,
OpenWorld = 1, OpenWorld = 1,
@ -148,7 +147,7 @@ public:
*/ */
const std::pair< uint16_t, uint16_t >& getCurrentFestival() const; const std::pair< uint16_t, uint16_t >& getCurrentFestival() const;
private: private:
using TerritoryTypeDetailCache = std::unordered_map< uint16_t, Data::TerritoryTypePtr >; using TerritoryTypeDetailCache = std::unordered_map< uint16_t, Data::TerritoryTypePtr >;
using InstanceIdToZonePtrMap = std::unordered_map< uint32_t, ZonePtr >; using InstanceIdToZonePtrMap = std::unordered_map< uint32_t, ZonePtr >;
using LandSetIdToZonePtrMap = std::unordered_map< uint32_t, ZonePtr >; using LandSetIdToZonePtrMap = std::unordered_map< uint32_t, ZonePtr >;
@ -191,13 +190,11 @@ private:
/*! current festival(s) to set for public zones from festival.exd */ /*! current festival(s) to set for public zones from festival.exd */
std::pair< uint16_t, uint16_t > m_currentFestival; std::pair< uint16_t, uint16_t > m_currentFestival;
public:
public:
/*! returns a list of instanceContent InstanceIds currently active */ /*! returns a list of instanceContent InstanceIds currently active */
InstanceIdList getInstanceContentIdList( uint16_t instanceContentId ) const; InstanceIdList getInstanceContentIdList( uint16_t instanceContentId ) const;
}; };
} }