#include <Battlefield.h>
Battlefield * m_Bf
Definition: Battlefield.h:193
ObjectGuid m_SpiritGuide[BG_TEAMS_COUNT]
Definition: Battlefield.h:191
Definition: SharedDefines.h:994
uint32 m_GraveyardId
Definition: Battlefield.h:190
TeamId m_ControlTeam
Definition: Battlefield.h:189
void Clear()
Definition: ObjectGuid.h:215
void BfGraveyard::AddPlayer |
( |
ObjectGuid |
player_guid | ) |
|
GuidSet m_ResurrectQueue
Definition: Battlefield.h:192
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
Definition: Battleground.h:106
TeamId BfGraveyard::GetControlTeamId |
( |
| ) |
const |
|
inline |
TeamId m_ControlTeam
Definition: Battlefield.h:189
float BfGraveyard::GetDistance |
( |
Player * |
player | ) |
|
668 return player->GetDistance2d(safeLoc->
Loc.
X, safeLoc->
Loc.
Y);
float Y
Definition: DBCEnums.h:35
DBCStorage< WorldSafeLocsEntry > sWorldSafeLocsStore(WorldSafeLocsfmt)
Definition: DBCStructure.h:1434
uint32 m_GraveyardId
Definition: Battlefield.h:190
float X
Definition: DBCEnums.h:34
DBCPosition3D Loc
Definition: DBCStructure.h:1438
uint32 BfGraveyard::GetGraveyardId |
( |
| ) |
const |
|
inline |
uint32 m_GraveyardId
Definition: Battlefield.h:190
void BfGraveyard::GiveControlTo |
( |
TeamId |
team | ) |
|
void RelocateDeadPlayers()
Definition: Battlefield.cpp:734
TeamId m_ControlTeam
Definition: Battlefield.h:189
Battlefield * m_Bf
Definition: Battlefield.h:193
ObjectGuid m_SpiritGuide[BG_TEAMS_COUNT]
Definition: Battlefield.h:191
Creature * GetCreature(ObjectGuid guid)
Definition: Battlefield.cpp:845
GuidSet m_ResurrectQueue
Definition: Battlefield.h:192
void BfGraveyard::Initialize |
( |
TeamId |
startcontrol, |
|
|
uint32 |
gy |
|
) |
| |
uint32 m_GraveyardId
Definition: Battlefield.h:190
TeamId m_ControlTeam
Definition: Battlefield.h:189
void BfGraveyard::RelocateDeadPlayers |
( |
| ) |
|
744 player->TeleportTo(player->GetMapId(), closestGrave->
Loc.
X, closestGrave->
Loc.
Y, closestGrave->
Loc.
Z, player->GetOrientation());
749 player->TeleportTo(player->GetMapId(), closestGrave->
Loc.
X, closestGrave->
Loc.
Y, closestGrave->
Loc.
Z, player->GetOrientation());
float Z
Definition: DBCEnums.h:36
float Y
Definition: DBCEnums.h:35
Battlefield * m_Bf
Definition: Battlefield.h:193
GuidSet m_ResurrectQueue
Definition: Battlefield.h:192
Definition: DBCStructure.h:1434
arena_t NULL
Definition: jemalloc_internal.h:624
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
float X
Definition: DBCEnums.h:34
DBCPosition3D Loc
Definition: DBCStructure.h:1438
WorldSafeLocsEntry const * GetClosestGraveYard(Player *player)
Definition: Battlefield.cpp:571
void BfGraveyard::RemovePlayer |
( |
ObjectGuid |
player_guid | ) |
|
GuidSet m_ResurrectQueue
Definition: Battlefield.h:192
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
Definition: Battleground.h:106
void BfGraveyard::Resurrect |
( |
| ) |
|
703 if (player->IsInWorld())
709 player->ResurrectPlayer(1.0f);
710 player->CastSpell(player, 6962,
true);
713 player->SpawnCorpseBones(
false);
Battlefield * m_Bf
Definition: Battlefield.h:193
ObjectGuid m_SpiritGuide[BG_TEAMS_COUNT]
Definition: Battlefield.h:191
Definition: Battleground.h:112
Definition: Battleground.h:109
GuidSet m_ResurrectQueue
Definition: Battlefield.h:192
Definition: Creature.h:467
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
Definition: Battleground.h:108
Creature * GetCreature(ObjectGuid guid)
Definition: Battlefield.cpp:845
TeamId m_ControlTeam
Definition: Battlefield.h:189
657 TC_LOG_ERROR(
"bg.battlefield",
"BfGraveyard::SetSpirit: Invalid Spirit.");
ObjectGuid m_SpiritGuide[BG_TEAMS_COUNT]
Definition: Battlefield.h:191
ObjectGuid const & GetGUID() const
Definition: Object.h:105
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
void SetReactState(ReactStates st)
Definition: Creature.h:502
TeamId BfGraveyard::m_ControlTeam |
|
protected |
uint32 BfGraveyard::m_GraveyardId |
|
protected |
GuidSet BfGraveyard::m_ResurrectQueue |
|
protected |
The documentation for this class was generated from the following files: