TrinityCore
OutdoorPvP Class Reference

#include <OutdoorPvP.h>

Public Types

typedef std::map< ObjectGuid::LowType, OPvPCapturePoint * > OPvPCapturePointMap
 

Public Member Functions

 OutdoorPvP ()
 
virtual ~OutdoorPvP ()
 
void DeleteSpawns ()
 
virtual void FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &)
 
virtual bool HandleAreaTrigger (Player *, uint32, bool)
 
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
 
virtual bool HandleOpenGo (Player *player, GameObject *go)
 
virtual bool SetupOutdoorPvP ()
 
void OnGameObjectCreate (GameObject *go) override
 
void OnGameObjectRemove (GameObject *go) override
 
void OnCreatureCreate (Creature *) override
 
void SendUpdateWorldState (uint32 field, uint32 value)
 
virtual bool Update (uint32 diff)
 
virtual void HandleKill (Player *killer, Unit *killed)
 
virtual void HandleKillImpl (Player *, Unit *)
 
bool IsInsideObjective (Player *player) const
 
virtual void AwardKillBonus (Player *)
 
uint32 GetTypeId () const
 
virtual bool HandleDropFlag (Player *player, uint32 spellId)
 
virtual bool HandleGossipOption (Player *player, Creature *creature, uint32 gossipid)
 
virtual bool CanTalkTo (Player *player, Creature *c, GossipMenuItems const &gso)
 
void TeamApplyBuff (TeamId team, uint32 spellId, uint32 spellId2=0)
 
void SendDefenseMessage (uint32 zoneId, uint32 id)
 
MapGetMap () const
 
- Public Member Functions inherited from ZoneScript
 ZoneScript ()
 
virtual ~ZoneScript ()
 
virtual uint32 GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data)
 
virtual uint32 GetGameObjectEntry (ObjectGuid::LowType, uint32 entry)
 
virtual void OnCreatureRemove (Creature *)
 
virtual void OnUnitDeath (Unit *)
 
virtual ObjectGuid GetGuidData (uint32) const
 
virtual void SetGuidData (uint32, ObjectGuid)
 
virtual uint64 GetData64 (uint32) const
 
virtual void SetData64 (uint32, uint64)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void ProcessEvent (WorldObject *, uint32)
 

Static Public Member Functions

static TeamId GetTeamIdByTeam (uint32 team)
 

Protected Member Functions

virtual void SendRemoveWorldStates (Player *)
 
void BroadcastPacket (WorldPacket const *data) const
 
virtual void HandlePlayerEnterZone (Player *player, uint32 zone)
 
virtual void HandlePlayerLeaveZone (Player *player, uint32 zone)
 
virtual void HandlePlayerResurrects (Player *player, uint32 zone)
 
void AddCapturePoint (OPvPCapturePoint *cp)
 
OPvPCapturePointGetCapturePoint (ObjectGuid::LowType guid) const
 
void RegisterZone (uint32 zoneid)
 
bool HasPlayer (Player const *player) const
 
void TeamCastSpell (TeamId team, int32 spellId)
 
template<class Worker >
void BroadcastWorker (Worker &_worker, uint32 zoneId)
 
void SetMapFromZone (uint32 zone)
 

Protected Attributes

OPvPCapturePointMap m_capturePoints
 
GuidSet m_players [2]
 
uint32 m_TypeId
 
bool m_sendUpdate
 
Mapm_map
 

Friends

class OutdoorPvPMgr
 

Member Typedef Documentation

◆ OPvPCapturePointMap

Constructor & Destructor Documentation

◆ OutdoorPvP()

OutdoorPvP::OutdoorPvP ( )
253 : m_TypeId(0), m_sendUpdate(true), m_map(nullptr) { }
Map * m_map
Definition: OutdoorPvP.h:299
uint32 m_TypeId
Definition: OutdoorPvP.h:269
bool m_sendUpdate
Definition: OutdoorPvP.h:271

◆ ~OutdoorPvP()

OutdoorPvP::~OutdoorPvP ( )
virtual
256 {
257  DeleteSpawns();
258 }
void DeleteSpawns()
Definition: OutdoorPvP.cpp:243
+ Here is the call graph for this function:

Member Function Documentation

◆ AddCapturePoint()

void OutdoorPvP::AddCapturePoint ( OPvPCapturePoint cp)
protected
568 {
569  OPvPCapturePointMap::iterator i = m_capturePoints.find(cp->m_capturePointSpawnId);
570  if (i != m_capturePoints.end())
571  {
572  TC_LOG_ERROR("outdoorpvp", "OutdoorPvP::AddCapturePoint: CapturePoint " UI64FMTD " already exists!", cp->m_capturePointSpawnId);
573  delete i->second;
574  }
576 }
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:186
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265
ObjectGuid::LowType m_capturePointSpawnId
Definition: OutdoorPvP.h:129
#define UI64FMTD
Definition: Define.h:139

◆ AwardKillBonus()

virtual void OutdoorPvP::AwardKillBonus ( Player )
inlinevirtual
233 { }

◆ BroadcastPacket()

void OutdoorPvP::BroadcastPacket ( WorldPacket const *  data) const
protected
559 {
560  // This is faster than sWorld->SendZoneMessage
561  for (uint32 team = 0; team < 2; ++team)
562  for (GuidSet::const_iterator itr = m_players[team].begin(); itr != m_players[team].end(); ++itr)
563  if (Player* const player = ObjectAccessor::FindPlayer(*itr))
564  player->SendDirectMessage(data);
565 }
constexpr auto data(C &c)
Definition: advstd.h:96
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:254
uint32_t uint32
Definition: Define.h:152
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
Definition: Player.h:1056
+ Here is the call graph for this function:

◆ BroadcastWorker()

template<class Worker >
void OutdoorPvP::BroadcastWorker ( Worker &  _worker,
uint32  zoneId 
)
protected
646 {
647  for (uint32 i = 0; i < BG_TEAMS_COUNT; ++i)
648  for (GuidSet::iterator itr = m_players[i].begin(); itr != m_players[i].end(); ++itr)
649  if (Player* player = ObjectAccessor::FindPlayer(*itr))
650  if (player->GetZoneId() == zoneId)
651  _worker(player);
652 }
#define BG_TEAMS_COUNT
Definition: SharedDefines.h:5908
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:254
uint32_t uint32
Definition: Define.h:152
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
Definition: Player.h:1056
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanTalkTo()

bool OutdoorPvP::CanTalkTo ( Player player,
Creature c,
GossipMenuItems const &  gso 
)
virtual
532 {
533  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
534  if (itr->second->CanTalkTo(player, c, gso))
535  return true;
536 
537  return false;
538 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265

◆ DeleteSpawns()

void OutdoorPvP::DeleteSpawns ( )
244 {
245  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
246  {
247  itr->second->DeleteSpawns();
248  delete itr->second;
249  }
250  m_capturePoints.clear();
251 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265
+ Here is the caller graph for this function:

◆ FillInitialWorldStates()

virtual void OutdoorPvP::FillInitialWorldStates ( WorldPackets::WorldState::InitWorldStates )
inlinevirtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, OutdoorPvPTF, OutdoorPvPHP, and OutdoorPvPSI.

201 { }
+ Here is the caller graph for this function:

◆ GetCapturePoint()

OPvPCapturePoint * OutdoorPvP::GetCapturePoint ( ObjectGuid::LowType  guid) const
protected
579 {
580  OutdoorPvP::OPvPCapturePointMap::const_iterator itr = m_capturePoints.find(guid);
581  if (itr != m_capturePoints.end())
582  return itr->second;
583  return nullptr;
584 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265
+ Here is the caller graph for this function:

◆ GetMap()

Map* OutdoorPvP::GetMap ( ) const
inline
260 { return m_map; }
Map * m_map
Definition: OutdoorPvP.h:299
+ Here is the caller graph for this function:

◆ GetTeamIdByTeam()

static TeamId OutdoorPvP::GetTeamIdByTeam ( uint32  team)
inlinestatic
246  {
247  switch (team)
248  {
249  case ALLIANCE:
250  return TEAM_ALLIANCE;
251  case HORDE:
252  return TEAM_HORDE;
253  default:
254  return TEAM_NEUTRAL;
255  }
256  }
Definition: SharedDefines.h:1075
Definition: SharedDefines.h:1081
Definition: SharedDefines.h:1073
Definition: SharedDefines.h:1080
Definition: SharedDefines.h:1074
+ Here is the caller graph for this function:

◆ GetTypeId()

uint32 OutdoorPvP::GetTypeId ( ) const
inline
235 {return m_TypeId;}
uint32 m_TypeId
Definition: OutdoorPvP.h:269
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleAreaTrigger()

virtual bool OutdoorPvP::HandleAreaTrigger ( Player ,
uint32  ,
bool   
)
inlinevirtual

Reimplemented in OutdoorPvPSI.

204 { return false; }
+ Here is the call graph for this function:

◆ HandleCustomSpell()

bool OutdoorPvP::HandleCustomSpell ( Player player,
uint32  spellId,
GameObject go 
)
virtual

Reimplemented in OutdoorPvPSI.

498 {
499  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
500  if (itr->second->HandleCustomSpell(player, spellId, go))
501  return true;
502 
503  return false;
504 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265

◆ HandleDropFlag()

bool OutdoorPvP::HandleDropFlag ( Player player,
uint32  spellId 
)
virtual

Reimplemented in OutdoorPvPSI.

541 {
542  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
543  if (itr->second->HandleDropFlag(player, id))
544  return true;
545 
546  return false;
547 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265

◆ HandleGossipOption()

bool OutdoorPvP::HandleGossipOption ( Player player,
Creature creature,
uint32  gossipid 
)
virtual
523 {
524  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
525  if (itr->second->HandleGossipOption(player, creature, id))
526  return true;
527 
528  return false;
529 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265

◆ HandleKill()

void OutdoorPvP::HandleKill ( Player killer,
Unit killed 
)
virtual
454 {
455  if (Group* group = killer->GetGroup())
456  {
457  for (GroupReference* itr = group->GetFirstMember(); itr != nullptr; itr = itr->next())
458  {
459  Player* groupGuy = itr->GetSource();
460 
461  if (!groupGuy)
462  continue;
463 
464  // skip if too far away
465  if (!groupGuy->IsAtGroupRewardDistance(killed))
466  continue;
467 
468  // creature kills must be notified, even if not inside objective / not outdoor pvp active
469  // player kills only count if active and inside objective
470  if ((groupGuy->IsOutdoorPvPActive() && IsInsideObjective(groupGuy)) || killed->GetTypeId() == TYPEID_UNIT)
471  HandleKillImpl(groupGuy, killed);
472  }
473  }
474  else
475  {
476  // creature kills must be notified, even if not inside objective / not outdoor pvp active
477  if ((killer->IsOutdoorPvPActive() && IsInsideObjective(killer)) || killed->GetTypeId() == TYPEID_UNIT)
478  HandleKillImpl(killer, killed);
479  }
480 }
Group * GetGroup()
Definition: Player.h:2450
virtual void HandleKillImpl(Player *, Unit *)
Definition: OutdoorPvP.h:227
bool IsAtGroupRewardDistance(WorldObject const *pRewardSource) const
Definition: Player.cpp:25470
TypeID GetTypeId() const
Definition: Object.h:167
Definition: ObjectGuid.h:39
GroupReference * next()
Definition: GroupReference.h:36
bool IsOutdoorPvPActive() const
Definition: Player.cpp:7355
bool IsInsideObjective(Player *player) const
Definition: OutdoorPvP.cpp:482
Definition: Player.h:1056
Definition: Group.h:219
Definition: GroupReference.h:26
+ Here is the call graph for this function:

◆ HandleKillImpl()

virtual void OutdoorPvP::HandleKillImpl ( Player ,
Unit  
)
inlinevirtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, and OutdoorPvPHP.

227 { }
+ Here is the caller graph for this function:

◆ HandleOpenGo()

bool OutdoorPvP::HandleOpenGo ( Player player,
GameObject go 
)
virtual
514 {
515  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
516  if (itr->second->HandleOpenGo(player, go) >= 0)
517  return true;
518 
519  return false;
520 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265

◆ HandlePlayerEnterZone()

void OutdoorPvP::HandlePlayerEnterZone ( Player player,
uint32  zone 
)
protectedvirtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, OutdoorPvPTF, OutdoorPvPHP, and OutdoorPvPSI.

261 {
262  m_players[player->GetTeamId()].insert(player->GetGUID());
263 }
ObjectGuid const & GetGUID() const
Definition: Object.h:154
TeamId GetTeamId() const
Definition: Player.h:2106
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandlePlayerLeaveZone()

void OutdoorPvP::HandlePlayerLeaveZone ( Player player,
uint32  zone 
)
protectedvirtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, OutdoorPvPTF, OutdoorPvPHP, and OutdoorPvPSI.

266 {
267  // inform the objectives of the leaving
268  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
269  itr->second->HandlePlayerLeave(player);
270  // remove the world state information from the player (we can't keep everyone up to date, so leave out those who are not in the concerning zones)
271  if (!player->GetSession()->PlayerLogout())
272  SendRemoveWorldStates(player);
273  m_players[player->GetTeamId()].erase(player->GetGUID());
274  TC_LOG_DEBUG("outdoorpvp", "Player %s left an outdoorpvp zone", player->GetName().c_str());
275 }
bool PlayerLogout() const
Definition: WorldSession.h:947
virtual void SendRemoveWorldStates(Player *)
Definition: OutdoorPvP.h:274
WorldSession * GetSession() const
Definition: Player.h:1990
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265
ObjectGuid const & GetGUID() const
Definition: Object.h:154
std::string const & GetName() const
Definition: Object.h:467
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:177
TeamId GetTeamId() const
Definition: Player.h:2106
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandlePlayerResurrects()

void OutdoorPvP::HandlePlayerResurrects ( Player player,
uint32  zone 
)
protectedvirtual
277 { }

◆ HasPlayer()

bool OutdoorPvP::HasPlayer ( Player const *  player) const
protected
592 {
593  GuidSet const& plSet = m_players[player->GetTeamId()];
594  return plSet.find(player->GetGUID()) != plSet.end();
595 }
std::set< ObjectGuid > GuidSet
Definition: ObjectGuid.h:371
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
+ Here is the call graph for this function:

◆ IsInsideObjective()

bool OutdoorPvP::IsInsideObjective ( Player player) const
483 {
484  for (OPvPCapturePointMap::const_iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
485  if (itr->second->IsInsideObjective(player))
486  return true;
487 
488  return false;
489 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265
+ Here is the caller graph for this function:

◆ OnCreatureCreate()

void OutdoorPvP::OnCreatureCreate ( Creature )
inlineoverridevirtual

Reimplemented from ZoneScript.

217 { }
+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void OutdoorPvP::OnGameObjectCreate ( GameObject go)
overridevirtual

Reimplemented from ZoneScript.

620 {
622  return;
623 
625  cp->m_capturePoint = go;
626 }
Definition: SharedDefines.h:2645
Definition: OutdoorPvP.h:85
GameobjectTypes GetGoType() const
Definition: GameObject.h:177
ObjectGuid::LowType GetSpawnId() const
Definition: GameObject.h:117
OPvPCapturePoint * GetCapturePoint(ObjectGuid::LowType guid) const
Definition: OutdoorPvP.cpp:578
+ Here is the call graph for this function:

◆ OnGameObjectRemove()

void OutdoorPvP::OnGameObjectRemove ( GameObject go)
overridevirtual

Reimplemented from ZoneScript.

629 {
631  return;
632 
634  cp->m_capturePoint = nullptr;
635 }
Definition: SharedDefines.h:2645
Definition: OutdoorPvP.h:85
GameobjectTypes GetGoType() const
Definition: GameObject.h:177
ObjectGuid::LowType GetSpawnId() const
Definition: GameObject.h:117
OPvPCapturePoint * GetCapturePoint(ObjectGuid::LowType guid) const
Definition: OutdoorPvP.cpp:578
+ Here is the call graph for this function:

◆ RegisterZone()

void OutdoorPvP::RegisterZone ( uint32  zoneid)
protected
587 {
588  sOutdoorPvPMgr->AddZone(zoneId, this);
589 }
#define sOutdoorPvPMgr
Definition: OutdoorPvPMgr.h:102
+ Here is the caller graph for this function:

◆ SendDefenseMessage()

void OutdoorPvP::SendDefenseMessage ( uint32  zoneId,
uint32  id 
)
638 {
639  DefenseMessageBuilder builder(zoneId, id);
641  BroadcastWorker(localizer, zoneId);
642 }
void BroadcastWorker(Worker &_worker, uint32 zoneId)
Definition: OutdoorPvP.cpp:645
Definition: OutdoorPvP.cpp:34
Definition: GridNotifiers.h:1601
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRemoveWorldStates()

virtual void OutdoorPvP::SendRemoveWorldStates ( Player )
inlineprotectedvirtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, OutdoorPvPTF, OutdoorPvPHP, and OutdoorPvPSI.

274 { }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdateWorldState()

void OutdoorPvP::SendUpdateWorldState ( uint32  field,
uint32  value 
)
413 {
414  if (m_sendUpdate)
415  for (int i = 0; i < 2; ++i)
416  for (GuidSet::iterator itr = m_players[i].begin(); itr != m_players[i].end(); ++itr)
417  if (Player* const player = ObjectAccessor::FindPlayer(*itr))
418  player->SendUpdateWorldState(field, value);
419 }
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:254
bool m_sendUpdate
Definition: OutdoorPvP.h:271
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
Definition: Player.h:1056
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMapFromZone()

void OutdoorPvP::SetMapFromZone ( uint32  zone)
protected
655 {
656  AreaTableEntry const* areaTable = sAreaTableStore.AssertEntry(zone);
657  Map* map = sMapMgr->CreateBaseMap(areaTable->ContinentID);
658  ASSERT(!map->Instanceable());
659  m_map = map;
660 }
Definition: DB2Structure.h:125
bool Instanceable() const
Definition: Map.cpp:4235
uint16 ContinentID
Definition: DB2Structure.h:130
Map * m_map
Definition: OutdoorPvP.h:299
DB2Storage< AreaTableEntry > sAreaTableStore("AreaTable.db2", AreaTableLoadInfo::Instance())
Definition: Map.h:248
#define sMapMgr
Definition: MapManager.h:212
#define ASSERT
Definition: Errors.h:57
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetupOutdoorPvP()

virtual bool OutdoorPvP::SetupOutdoorPvP ( )
inlinevirtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, OutdoorPvPTF, OutdoorPvPHP, and OutdoorPvPSI.

213 {return true;}
+ Here is the caller graph for this function:

◆ TeamApplyBuff()

void OutdoorPvP::TeamApplyBuff ( TeamId  team,
uint32  spellId,
uint32  spellId2 = 0 
)
614 {
615  TeamCastSpell(team, spellId);
616  TeamCastSpell(OTHER_TEAM(team), spellId2 ? -(int32)spellId2 : -(int32)spellId);
617 }
void TeamCastSpell(TeamId team, int32 spellId)
Definition: OutdoorPvP.cpp:597
#define OTHER_TEAM(a)
Definition: OutdoorPvP.h:49
int32_t int32
Definition: Define.h:148
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TeamCastSpell()

void OutdoorPvP::TeamCastSpell ( TeamId  team,
int32  spellId 
)
protected
598 {
599  if (spellId > 0)
600  {
601  for (GuidSet::iterator itr = m_players[team].begin(); itr != m_players[team].end(); ++itr)
602  if (Player* const player = ObjectAccessor::FindPlayer(*itr))
603  player->CastSpell(player, (uint32)spellId, true);
604  }
605  else
606  {
607  for (GuidSet::iterator itr = m_players[team].begin(); itr != m_players[team].end(); ++itr)
608  if (Player* const player = ObjectAccessor::FindPlayer(*itr))
609  player->RemoveAura((uint32)-spellId); // by stack?
610  }
611 }
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:254
uint32_t uint32
Definition: Define.h:152
GuidSet m_players[2]
Definition: OutdoorPvP.h:267
Definition: Player.h:1056
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

bool OutdoorPvP::Update ( uint32  diff)
virtual

Reimplemented in OutdoorPvPNA, OutdoorPvPZM, OutdoorPvPTF, OutdoorPvPHP, and OutdoorPvPSI.

280 {
281  bool objective_changed = false;
282  for (OPvPCapturePointMap::iterator itr = m_capturePoints.begin(); itr != m_capturePoints.end(); ++itr)
283  {
284  if (itr->second->Update(diff))
285  objective_changed = true;
286  }
287  return objective_changed;
288 }
OPvPCapturePointMap m_capturePoints
Definition: OutdoorPvP.h:265
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ OutdoorPvPMgr

friend class OutdoorPvPMgr
friend

Member Data Documentation

◆ m_capturePoints

OPvPCapturePointMap OutdoorPvP::m_capturePoints
protected

◆ m_map

Map* OutdoorPvP::m_map
protected

◆ m_players

GuidSet OutdoorPvP::m_players[2]
protected

◆ m_sendUpdate

bool OutdoorPvP::m_sendUpdate
protected

◆ m_TypeId

uint32 OutdoorPvP::m_TypeId
protected

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