TrinityCore
Garrison::Plot Struct Reference

#include <Garrison.h>

Public Member Functions

GameObjectCreateGameObject (Map *map, GarrisonFactionIndex faction)
 
void DeleteGameObject (Map *map)
 
void ClearBuildingInfo (GarrisonType garrisonType, Player *owner)
 
void SetBuildingInfo (WorldPackets::Garrison::GarrisonBuildingInfo const &buildingInfo, Player *owner)
 

Public Attributes

WorldPackets::Garrison::GarrisonPlotInfo PacketInfo
 
QuaternionData Rotation
 
uint32 EmptyGameObjectId = 0
 
uint32 GarrSiteLevelPlotInstId = 0
 
Building BuildingInfo
 

Detailed Description

Definition at line 195 of file Garrison.h.

Member Function Documentation

◆ ClearBuildingInfo()

void Garrison::Plot::ClearBuildingInfo ( GarrisonType  garrisonType,
Player owner 
)

Definition at line 813 of file Garrison.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateGameObject()

GameObject * Garrison::Plot::CreateGameObject ( Map map,
GarrisonFactionIndex  faction 
)

Definition at line 718 of file Garrison.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteGameObject()

void Garrison::Plot::DeleteGameObject ( Map map)

Definition at line 781 of file Garrison.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBuildingInfo()

void Garrison::Plot::SetBuildingInfo ( WorldPackets::Garrison::GarrisonBuildingInfo const &  buildingInfo,
Player owner 
)

Definition at line 823 of file Garrison.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ BuildingInfo

Building Garrison::Plot::BuildingInfo

Definition at line 206 of file Garrison.h.

◆ EmptyGameObjectId

uint32 Garrison::Plot::EmptyGameObjectId = 0

Definition at line 204 of file Garrison.h.

◆ GarrSiteLevelPlotInstId

uint32 Garrison::Plot::GarrSiteLevelPlotInstId = 0

Definition at line 205 of file Garrison.h.

◆ PacketInfo

WorldPackets::Garrison::GarrisonPlotInfo Garrison::Plot::PacketInfo

Definition at line 202 of file Garrison.h.

◆ Rotation

QuaternionData Garrison::Plot::Rotation

Definition at line 203 of file Garrison.h.


The documentation for this struct was generated from the following files: