AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BfGraveyardWG Class Reference

#include "BattlefieldWG.h"

Inheritance diagram for BfGraveyardWG:
BfGraveyard

Public Member Functions

 BfGraveyardWG (BattlefieldWG *Bf)
 
void SetTextId (uint32 textid)
 
uint32 GetTextId ()
 
- 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) const
 
uint32 GetGraveyardId () const
 

Protected Attributes

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

Detailed Description

Constructor & Destructor Documentation

◆ BfGraveyardWG()

BfGraveyardWG::BfGraveyardWG ( BattlefieldWG Bf)
1204 : BfGraveyard(battlefield)
1205{
1206 m_Bf = battlefield;
1207 m_GossipTextId = 0;
1208}
Definition: Battlefield.h:147
Battlefield * m_Bf
Definition: Battlefield.h:201
uint32 m_GossipTextId
Definition: BattlefieldWG.h:141

References BfGraveyard::m_Bf, and m_GossipTextId.

Member Function Documentation

◆ GetTextId()

uint32 BfGraveyardWG::GetTextId ( )
inline
139{ return m_GossipTextId; }

References m_GossipTextId.

◆ SetTextId()

void BfGraveyardWG::SetTextId ( uint32  textid)
inline
138{ m_GossipTextId = textid; }

References m_GossipTextId.

Referenced by BattlefieldWG::SetupBattlefield().

Member Data Documentation

◆ m_GossipTextId

uint32 BfGraveyardWG::m_GossipTextId
protected

Referenced by BfGraveyardWG(), GetTextId(), and SetTextId().