TrinityCore
Loading...
Searching...
No Matches
OutdoorPvPEP Class Reference

#include <OutdoorPvPEP.h>

+ Inheritance diagram for OutdoorPvPEP:

Public Member Functions

 OutdoorPvPEP ()
 
bool SetupOutdoorPvP () override
 
void HandlePlayerEnterZone (Player *player, uint32 zone) override
 
void HandlePlayerLeaveZone (Player *player, uint32 zone) override
 
bool Update (uint32 diff) override
 
void FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &packet) override
 
void SendRemoveWorldStates (Player *player) override
 
void BuffTeams ()
 
void SetControlledState (uint32 index, uint32 state)
 
- Public Member Functions inherited from OutdoorPvP
 OutdoorPvP ()
 
virtual ~OutdoorPvP ()
 
void DeleteSpawns ()
 
virtual bool HandleAreaTrigger (Player *player, uint32 trigger)
 
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
 
virtual bool HandleOpenGo (Player *player, GameObject *go)
 
void OnGameObjectCreate (GameObject *go) override
 
void OnGameObjectRemove (GameObject *go) override
 
void OnCreatureCreate (Creature *) override
 
void OnCreatureRemove (Creature *) override
 
void SendUpdateWorldState (uint32 field, uint32 value)
 
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 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)
 

Public Attributes

uint32 EP_Controls [EP_TOWER_NUM]
 
uint32 m_AllianceTowersControlled
 
uint32 m_HordeTowersControlled
 

Additional Inherited Members

- Public Types inherited from OutdoorPvP
typedef std::map< ObjectGuid::LowType, OPvPCapturePoint * > OPvPCapturePointMap
 
typedef std::pair< ObjectGuid::LowType, GameObject * > GoScriptPair
 
typedef std::pair< ObjectGuid::LowType, Creature * > CreatureScriptPair
 
- Static Public Member Functions inherited from OutdoorPvP
static TeamId GetTeamIdByTeam (uint32 team)
 
- Protected Member Functions inherited from OutdoorPvP
void BroadcastPacket (WorldPacket &data) const
 
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 inherited from OutdoorPvP
OPvPCapturePointMap m_capturePoints
 
GuidSet m_players [2]
 
uint32 m_TypeId
 
bool m_sendUpdate
 
std::map< ObjectGuid::LowType, GameObject * > m_GoScriptStore
 
std::map< ObjectGuid::LowType, Creature * > m_CreatureScriptStore
 
Mapm_map
 

Detailed Description

Definition at line 126 of file OutdoorPvPEP.h.

Constructor & Destructor Documentation

◆ OutdoorPvPEP()

OutdoorPvPEP::OutdoorPvPEP ( )

Definition at line 518 of file OutdoorPvPEP.cpp.

Member Function Documentation

◆ BuffTeams()

void OutdoorPvPEP::BuffTeams ( )

Definition at line 592 of file OutdoorPvPEP.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FillInitialWorldStates()

void OutdoorPvPEP::FillInitialWorldStates ( WorldPackets::WorldState::InitWorldStates packet)
overridevirtual

Reimplemented from OutdoorPvP.

Definition at line 621 of file OutdoorPvPEP.cpp.

◆ HandlePlayerEnterZone()

void OutdoorPvPEP::HandlePlayerEnterZone ( Player player,
uint32  zone 
)
overridevirtual

Reimplemented from OutdoorPvP.

Definition at line 560 of file OutdoorPvPEP.cpp.

+ Here is the call graph for this function:

◆ HandlePlayerLeaveZone()

void OutdoorPvPEP::HandlePlayerLeaveZone ( Player player,
uint32  zone 
)
overridevirtual

Reimplemented from OutdoorPvP.

Definition at line 576 of file OutdoorPvPEP.cpp.

+ Here is the call graph for this function:

◆ SendRemoveWorldStates()

void OutdoorPvPEP::SendRemoveWorldStates ( Player player)
overridevirtual

Reimplemented from OutdoorPvP.

Definition at line 630 of file OutdoorPvPEP.cpp.

+ Here is the call graph for this function:

◆ SetControlledState()

void OutdoorPvPEP::SetControlledState ( uint32  index,
uint32  state 
)

Definition at line 616 of file OutdoorPvPEP.cpp.

◆ SetupOutdoorPvP()

bool OutdoorPvPEP::SetupOutdoorPvP ( )
overridevirtual

Reimplemented from OutdoorPvP.

Definition at line 526 of file OutdoorPvPEP.cpp.

+ Here is the call graph for this function:

◆ Update()

bool OutdoorPvPEP::Update ( uint32  diff)
overridevirtual

Reimplemented from OutdoorPvP.

Definition at line 539 of file OutdoorPvPEP.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ EP_Controls

uint32 OutdoorPvPEP::EP_Controls[EP_TOWER_NUM]

Definition at line 141 of file OutdoorPvPEP.h.

◆ m_AllianceTowersControlled

uint32 OutdoorPvPEP::m_AllianceTowersControlled

Definition at line 142 of file OutdoorPvPEP.h.

◆ m_HordeTowersControlled

uint32 OutdoorPvPEP::m_HordeTowersControlled

Definition at line 143 of file OutdoorPvPEP.h.


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