18#ifndef GarrisonMgr_h__
19#define GarrisonMgr_h__
26#include <unordered_map>
27#include <unordered_set>
48 std::unordered_set<GarrAbilityEntry const*>
Counters;
49 std::unordered_set<GarrAbilityEntry const*>
Traits;
67 std::vector<GarrSiteLevelPlotInstEntry const*>
const* GetGarrPlotInstForSiteLevel(
uint32 garrSiteLevelId)
const;
69 bool IsPlotMatchingBuilding(
uint32 garrPlotId,
uint32 garrBuildingId)
const;
70 uint32 GetGarrBuildingPlotInst(
uint32 garrBuildingId,
uint32 garrSiteLevelPlotInstId)
const;
73 uint64 GenerateFollowerDbId();
75 std::list<GarrAbilityEntry const*> GetClassSpecAbilities(
GarrFollowerEntry const* follower,
uint32 faction)
const;
78 void InitializeDbIdSequences();
79 void LoadPlotFinalizeGOInfo();
80 void LoadFollowerClassSpecAbilities();
95#define sGarrisonMgr GarrisonMgr::Instance()
GarrisonMgr(GarrisonMgr &&)=delete
std::unordered_map< uint32, std::vector< uint32 > > _garrisonBuildingsByType
std::set< GarrAbilityEntry const * > _garrisonFollowerRandomTraits
std::unordered_map< uint32, FinalizeGarrisonPlotGOInfo > _finalizePlotGOInfo
GarrisonMgr & operator=(GarrisonMgr &&)=delete
std::unordered_map< uint32, std::unordered_map< uint32, GameObjectsEntry const * > > _garrisonPlots
GarrisonMgr(GarrisonMgr const &)=delete
std::unordered_map< uint32, std::list< GarrAbilityEntry const * > > _garrisonFollowerClassSpecAbilities
std::unordered_map< uint32, std::unordered_set< uint32 > > _garrisonBuildingsByPlot
GarrisonMgr & operator=(GarrisonMgr const &)=delete
std::unordered_map< uint32, std::vector< GarrSiteLevelPlotInstEntry const * > > _garrisonPlotInstBySiteLevel
std::unordered_map< std::pair< uint32, uint32 >, uint32 > _garrisonBuildingPlotInstances
struct FinalizeGarrisonPlotGOInfo::@269 FactionInfo[2]
std::unordered_set< GarrAbilityEntry const * > Traits
std::unordered_set< GarrAbilityEntry const * > Counters