mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
Slight reformatting
This commit is contained in:
parent
7b0c0b7de3
commit
e9d0b67354
1 changed files with 172 additions and 175 deletions
|
@ -19,19 +19,18 @@ namespace Sapphire::Data
|
|||
|
||||
namespace Sapphire::World::Manager
|
||||
{
|
||||
/*!
|
||||
/*!
|
||||
\class TerritoryMgr_c
|
||||
\brief A class managing zones
|
||||
|
||||
This class manages persistent and temporary instances alike.
|
||||
|
||||
*/
|
||||
class TerritoryMgr
|
||||
{
|
||||
*/
|
||||
class TerritoryMgr
|
||||
{
|
||||
|
||||
public:
|
||||
enum TerritoryIntendedUse :
|
||||
uint8_t //TODO: Add the rest of the territory types and have better names for them
|
||||
public:
|
||||
enum TerritoryIntendedUse : uint8_t //TODO: Add the rest of the territory types and have better names for them
|
||||
{
|
||||
Town = 0,
|
||||
OpenWorld = 1,
|
||||
|
@ -148,7 +147,7 @@ public:
|
|||
*/
|
||||
const std::pair< uint16_t, uint16_t >& getCurrentFestival() const;
|
||||
|
||||
private:
|
||||
private:
|
||||
using TerritoryTypeDetailCache = std::unordered_map< uint16_t, Data::TerritoryTypePtr >;
|
||||
using InstanceIdToZonePtrMap = 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 */
|
||||
std::pair< uint16_t, uint16_t > m_currentFestival;
|
||||
|
||||
|
||||
|
||||
public:
|
||||
public:
|
||||
/*! returns a list of instanceContent InstanceIds currently active */
|
||||
InstanceIdList getInstanceContentIdList( uint16_t instanceContentId ) const;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue