TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BfGraveyardWG Class Reference

#include <BattlefieldWG.h>

Public Member Functions

 BfGraveyardWG (BattlefieldWG *Bf)
 
void SetTextId (uint32 textId)
 
uint32 GetTextId () const
 
- Public Member Functions inherited from BfGraveyard
 BfGraveyard (Battlefield *Bf)
 
void GiveControlTo (TeamId team)
 
TeamId GetControlTeamId () const
 
float GetDistance (Player *player)
 
void Initialize (TeamId startcontrol, uint32 gy)
 
void SetSpirit (Creature *spirit, TeamId team)
 
void AddPlayer (ObjectGuid player_guid)
 
void RemovePlayer (ObjectGuid player_guid)
 
void Resurrect ()
 
void RelocateDeadPlayers ()
 
bool HasNpc (ObjectGuid guid)
 
bool HasPlayer (ObjectGuid guid)
 
uint32 GetGraveyardId () const
 

Protected Attributes

uint32 m_GossipTextId
 
- Protected Attributes inherited from BfGraveyard
TeamId m_ControlTeam
 
uint32 m_GraveyardId
 
ObjectGuid m_SpiritGuide [BG_TEAMS_COUNT]
 
GuidSet m_ResurrectQueue
 
Battlefieldm_Bf
 

Constructor & Destructor Documentation

BfGraveyardWG::BfGraveyardWG ( BattlefieldWG Bf)
1048  : BfGraveyard(battlefield)
1049 {
1050  m_Bf = battlefield;
1051  m_GossipTextId = 0;
1052 }
Battlefield * m_Bf
Definition: Battlefield.h:193
BfGraveyard(Battlefield *Bf)
Definition: Battlefield.cpp:638
uint32 m_GossipTextId
Definition: BattlefieldWG.h:155

Member Function Documentation

uint32 BfGraveyardWG::GetTextId ( ) const
inline
152 { return m_GossipTextId; }
uint32 m_GossipTextId
Definition: BattlefieldWG.h:155
void BfGraveyardWG::SetTextId ( uint32  textId)
inline
151 { m_GossipTextId = textId; }
uint32 m_GossipTextId
Definition: BattlefieldWG.h:155

+ Here is the caller graph for this function:

Member Data Documentation

uint32 BfGraveyardWG::m_GossipTextId
protected

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