TrinityCore
BfWGGameObjectBuilding Struct Reference

#include <BattlefieldWG.h>

Public Member Functions

 BfWGGameObjectBuilding (BattlefieldWG *wg, WintergraspGameObjectBuildingType type, uint32 worldState)
 
void Init (GameObject *go)
 
ObjectGuid const & GetGUID () const
 
void Rebuild ()
 
void RebuildGate ()
 
void Damaged ()
 
void Destroyed ()
 
void UpdateCreatureAndGo ()
 
void UpdateTurretAttack (bool disable)
 

Private Attributes

BattlefieldWG_wg
 
ObjectGuid _buildGUID
 
TeamId _teamControl
 
WintergraspGameObjectBuildingType _type
 
uint32 _worldState
 
WintergraspGameObjectState _state
 
StaticWintergraspTowerInfo const * _staticTowerInfo
 
GuidVector m_GameObjectList [PVP_TEAMS_COUNT]
 
GuidVector m_CreatureBottomList [PVP_TEAMS_COUNT]
 
GuidVector m_CreatureTopList [PVP_TEAMS_COUNT]
 
GuidVector m_TowerCannonBottomList
 
GuidVector m_TurretTopList
 

Detailed Description

Definition at line 480 of file BattlefieldWG.h.

Constructor & Destructor Documentation

◆ BfWGGameObjectBuilding()

BfWGGameObjectBuilding::BfWGGameObjectBuilding ( BattlefieldWG wg,
WintergraspGameObjectBuildingType  type,
uint32  worldState 
)

Definition at line 1358 of file BattlefieldWG.cpp.

Member Function Documentation

◆ Damaged()

void BfWGGameObjectBuilding::Damaged ( )

Definition at line 1419 of file BattlefieldWG.cpp.

+ Here is the call graph for this function:

◆ Destroyed()

void BfWGGameObjectBuilding::Destroyed ( )

Definition at line 1443 of file BattlefieldWG.cpp.

+ Here is the call graph for this function:

◆ GetGUID()

ObjectGuid const & BfWGGameObjectBuilding::GetGUID ( ) const
inline

Definition at line 512 of file BattlefieldWG.h.

+ Here is the caller graph for this function:

◆ Init()

void BfWGGameObjectBuilding::Init ( GameObject go)

Definition at line 1477 of file BattlefieldWG.cpp.

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

◆ Rebuild()

void BfWGGameObjectBuilding::Rebuild ( )

Definition at line 1370 of file BattlefieldWG.cpp.

+ Here is the call graph for this function:

◆ RebuildGate()

void BfWGGameObjectBuilding::RebuildGate ( )

Definition at line 1407 of file BattlefieldWG.cpp.

+ Here is the call graph for this function:

◆ UpdateCreatureAndGo()

void BfWGGameObjectBuilding::UpdateCreatureAndGo ( )

Definition at line 1649 of file BattlefieldWG.cpp.

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

◆ UpdateTurretAttack()

void BfWGGameObjectBuilding::UpdateTurretAttack ( bool  disable)

Definition at line 1676 of file BattlefieldWG.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _buildGUID

ObjectGuid BfWGGameObjectBuilding::_buildGUID
private

Definition at line 487 of file BattlefieldWG.h.

◆ _state

WintergraspGameObjectState BfWGGameObjectBuilding::_state
private

Definition at line 495 of file BattlefieldWG.h.

◆ _staticTowerInfo

StaticWintergraspTowerInfo const* BfWGGameObjectBuilding::_staticTowerInfo
private

Definition at line 497 of file BattlefieldWG.h.

◆ _teamControl

TeamId BfWGGameObjectBuilding::_teamControl
private

Definition at line 490 of file BattlefieldWG.h.

◆ _type

WintergraspGameObjectBuildingType BfWGGameObjectBuilding::_type
private

Definition at line 492 of file BattlefieldWG.h.

◆ _wg

BattlefieldWG* BfWGGameObjectBuilding::_wg
private

Definition at line 484 of file BattlefieldWG.h.

◆ _worldState

uint32 BfWGGameObjectBuilding::_worldState
private

Definition at line 493 of file BattlefieldWG.h.

◆ m_CreatureBottomList

GuidVector BfWGGameObjectBuilding::m_CreatureBottomList[PVP_TEAMS_COUNT]
private

Definition at line 503 of file BattlefieldWG.h.

◆ m_CreatureTopList

GuidVector BfWGGameObjectBuilding::m_CreatureTopList[PVP_TEAMS_COUNT]
private

Definition at line 504 of file BattlefieldWG.h.

◆ m_GameObjectList

GuidVector BfWGGameObjectBuilding::m_GameObjectList[PVP_TEAMS_COUNT]
private

Definition at line 500 of file BattlefieldWG.h.

◆ m_TowerCannonBottomList

GuidVector BfWGGameObjectBuilding::m_TowerCannonBottomList
private

Definition at line 505 of file BattlefieldWG.h.

◆ m_TurretTopList

GuidVector BfWGGameObjectBuilding::m_TurretTopList
private

Definition at line 506 of file BattlefieldWG.h.


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