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)
1213 : BfGraveyard(battlefield)
1214{
1215 m_Bf = battlefield;
1216 m_GossipTextId = 0;
1217}
Definition: Battlefield.h:146
Battlefield * m_Bf
Definition: Battlefield.h:200
uint32 m_GossipTextId
Definition: BattlefieldWG.h:139

References BfGraveyard::m_Bf, and m_GossipTextId.

Member Function Documentation

◆ GetTextId()

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

References m_GossipTextId.

◆ SetTextId()

void BfGraveyardWG::SetTextId ( uint32  textid)
inline
136{ 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().