88 bool CanActivate()
const;
91 std::unordered_set<ObjectGuid>
Spawns;
98 void DeleteGameObject(
Map* map);
99 void ClearBuildingInfo(
Player* owner);
110 uint32 GetItemLevel()
const;
122 bool Create(
uint32 garrSiteId);
132 std::vector<Plot*> GetPlots();
134 Plot const* GetPlot(
uint32 garrPlotInstanceId)
const;
137 void LearnBlueprint(
uint32 garrBuildingId);
138 void UnlearnBlueprint(
uint32 garrBuildingId);
139 void PlaceBuilding(
uint32 garrPlotInstanceId,
uint32 garrBuildingId);
140 void CancelBuildingConstruction(
uint32 garrPlotInstanceId);
141 void ActivateBuilding(
uint32 garrPlotInstanceId);
144 void AddFollower(
uint32 garrFollowerId);
148 void SendRemoteInfo()
const;
149 void SendBlueprintAndSpecializationData();
150 void SendBuildingLandmarks(
Player* receiver)
const;
155 Map* FindMap()
const;
156 void InitializePlots();
169 #endif // Garrison_h__
GarrisonFactionIndex
Definition: Garrison.h:24
std::unordered_set< uint32 > _followerIds
Definition: Garrison.h:166
Definition: Garrison.h:43
Definition: Garrison.h:95
GarrisonFollowerStatus
Definition: Garrison.h:73
Definition: Garrison.h:60
Definition: Garrison.h:37
std::shared_ptr< PreparedResultSet > PreparedQueryResult
Definition: QueryResult.h:107
Definition: Garrison.h:49
Definition: Garrison.h:86
Definition: Garrison.h:48
void LoadFromDB()
Definition: AddonMgr.cpp:40
Definition: Garrison.h:51
GarrisonBuildingFlags
Definition: Garrison.h:30
GarrSiteLevelEntry const * _siteLevel
Definition: Garrison.h:160
WorldPackets::Garrison::GarrisonFollower PacketInfo
Definition: Garrison.h:112
Definition: Garrison.h:83
Definition: Garrison.h:76
std::unordered_set< uint32 > _knownBuildings
Definition: Garrison.h:164
Definition: Garrison.h:64
WorldPackets::Garrison::GarrisonPlotInfo PacketInfo
Definition: Garrison.h:102
uint64 LowType
Definition: ObjectGuid.h:199
Definition: GarrisonPackets.h:61
Player * _owner
Definition: Garrison.h:159
Definition: Garrison.h:70
Definition: Garrison.h:42
Building BuildingInfo
Definition: Garrison.h:105
Definition: Garrison.h:66
Definition: Garrison.h:50
Definition: DB2Structure.h:549
GarrisonError
Definition: Garrison.h:56
Definition: Garrison.h:58
Definition: Garrison.h:68
std::unordered_map< uint32, Plot > _plots
Definition: Garrison.h:163
Definition: Garrison.h:75
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
Definition: Garrison.h:108
ObjectGuid Guid
Definition: Garrison.h:90
Definition: GameObject.h:880
Definition: GarrisonPackets.h:78
Definition: Garrison.h:65
boost::optional< T > Optional
Optional helper class to wrap optional values within.
Definition: Common.h:170
Definition: Garrison.h:67
Definition: Garrison.h:27
std::unordered_map< uint64, Follower > _followers
Definition: Garrison.h:165
Definition: Garrison.h:77
std::unordered_set< ObjectGuid > Spawns
Definition: Garrison.h:91
Definition: Garrison.h:61
Definition: GarrisonPackets.h:68
Definition: Garrison.h:62
Optional< WorldPackets::Garrison::GarrisonBuildingInfo > PacketInfo
Definition: Garrison.h:92
GarrisonFollowerType
Definition: Garrison.h:40
void ResetFollowerActivationLimit()
Definition: Garrison.h:152
Definition: Garrison.h:32
#define TC_GAME_API
Definition: Define.h:134
GarrisonFollowerFlags
Definition: Garrison.h:35
uint32 _followerActivationsRemainingToday
Definition: Garrison.h:161
Definition: Garrison.h:59
Definition: Garrison.h:52
Definition: ObjectGuid.h:189
Definition: Garrison.h:26
Definition: Garrison.h:53
Definition: Garrison.h:63
GarrisonAbilityFlags
Definition: Garrison.h:46
std::shared_ptr< Transaction > SQLTransaction
Definition: Transaction.h:58