TrinityCore
TFControlZoneHandler Class Reference

#include <OutdoorPvPTF.h>

+ Inheritance diagram for TFControlZoneHandler:

Public Member Functions

 TFControlZoneHandler (OutdoorPvPTF *pvp, uint32 worldstateHorde, uint32 worldstateAlliance, uint32 worldstateNeutral)
 
void HandleProgressEventHorde (GameObject *controlZone) override
 
void HandleProgressEventAlliance (GameObject *controlZone) override
 
void HandleNeutralEventHorde (GameObject *controlZone) override
 
void HandleNeutralEventAlliance (GameObject *controlZone) override
 
void HandleNeutralEvent (GameObject *controlZone) override
 
uint32 GetWorldStateHorde ()
 
uint32 GetWorldStateAlliance ()
 
uint32 GetWorldStateNeutral ()
 
OutdoorPvPTFGetOutdoorPvPTF () const
 
- Public Member Functions inherited from OutdoorPvPControlZoneHandler
 OutdoorPvPControlZoneHandler (OutdoorPvP *pvp)
 
virtual ~OutdoorPvPControlZoneHandler ()=default
 
OutdoorPvPGetOutdoorPvP () const
 
- Public Member Functions inherited from ControlZoneHandler
 ControlZoneHandler ()=default
 
virtual ~ControlZoneHandler ()=default
 
virtual void HandleCaptureEventHorde (GameObject *controlZone)
 
virtual void HandleCaptureEventAlliance (GameObject *controlZone)
 
virtual void HandleContestedEventHorde (GameObject *controlZone)
 
virtual void HandleContestedEventAlliance (GameObject *controlZone)
 
virtual void HandleProgressEventHorde (GameObject *controlZone)
 
virtual void HandleProgressEventAlliance (GameObject *controlZone)
 
virtual void HandleNeutralEventHorde (GameObject *controlZone)
 
virtual void HandleNeutralEventAlliance (GameObject *controlZone)
 
virtual void HandleNeutralEvent (GameObject *controlZone)
 

Private Attributes

uint32 _worldstateHorde
 
uint32 _worldstateAlliance
 
uint32 _worldstateNeutral
 

Detailed Description

Definition at line 96 of file OutdoorPvPTF.h.

Constructor & Destructor Documentation

◆ TFControlZoneHandler()

TFControlZoneHandler::TFControlZoneHandler ( OutdoorPvPTF pvp,
uint32  worldstateHorde,
uint32  worldstateAlliance,
uint32  worldstateNeutral 
)
explicit

Definition at line 262 of file OutdoorPvPTF.cpp.

Member Function Documentation

◆ GetOutdoorPvPTF()

OutdoorPvPTF * TFControlZoneHandler::GetOutdoorPvPTF ( ) const

Definition at line 326 of file OutdoorPvPTF.cpp.

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

◆ GetWorldStateAlliance()

uint32 TFControlZoneHandler::GetWorldStateAlliance ( )
inline

Definition at line 108 of file OutdoorPvPTF.h.

+ Here is the caller graph for this function:

◆ GetWorldStateHorde()

uint32 TFControlZoneHandler::GetWorldStateHorde ( )
inline

Definition at line 107 of file OutdoorPvPTF.h.

+ Here is the caller graph for this function:

◆ GetWorldStateNeutral()

uint32 TFControlZoneHandler::GetWorldStateNeutral ( )
inline

Definition at line 109 of file OutdoorPvPTF.h.

+ Here is the caller graph for this function:

◆ HandleNeutralEvent()

void TFControlZoneHandler::HandleNeutralEvent ( GameObject controlZone)
overridevirtual

Reimplemented from ControlZoneHandler.

Definition at line 317 of file OutdoorPvPTF.cpp.

+ Here is the call graph for this function:

◆ HandleNeutralEventAlliance()

void TFControlZoneHandler::HandleNeutralEventAlliance ( GameObject controlZone)
overridevirtual

Reimplemented from ControlZoneHandler.

Definition at line 310 of file OutdoorPvPTF.cpp.

+ Here is the call graph for this function:

◆ HandleNeutralEventHorde()

void TFControlZoneHandler::HandleNeutralEventHorde ( GameObject controlZone)
overridevirtual

Reimplemented from ControlZoneHandler.

Definition at line 303 of file OutdoorPvPTF.cpp.

+ Here is the call graph for this function:

◆ HandleProgressEventAlliance()

void TFControlZoneHandler::HandleProgressEventAlliance ( GameObject controlZone)
overridevirtual

Reimplemented from ControlZoneHandler.

Definition at line 285 of file OutdoorPvPTF.cpp.

+ Here is the call graph for this function:

◆ HandleProgressEventHorde()

void TFControlZoneHandler::HandleProgressEventHorde ( GameObject controlZone)
overridevirtual

Reimplemented from ControlZoneHandler.

Definition at line 267 of file OutdoorPvPTF.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _worldstateAlliance

uint32 TFControlZoneHandler::_worldstateAlliance
private

Definition at line 115 of file OutdoorPvPTF.h.

◆ _worldstateHorde

uint32 TFControlZoneHandler::_worldstateHorde
private

Definition at line 114 of file OutdoorPvPTF.h.

◆ _worldstateNeutral

uint32 TFControlZoneHandler::_worldstateNeutral
private

Definition at line 116 of file OutdoorPvPTF.h.


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