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

#include <OutdoorPvPHP.h>

+ Inheritance diagram for HPControlZoneHandler:

Public Member Functions

 HPControlZoneHandler (OutdoorPvPHP *pvp)
 
void SetFlagGuid (ObjectGuid const &guid)
 
void SetTextCaptureHorde (uint32 text)
 
void SetTextCaptureAlliance (uint32 text)
 
void SetFlagArtKitNeutral (uint32 artKit)
 
void SetFlagArtKitHorde (uint32 artKit)
 
void SetFlagArtKitAlliance (uint32 artKit)
 
void SetWorldstateNeutral (uint32 id)
 
void SetWorldstateHorde (uint32 id)
 
void SetWorldstateAlliance (uint32 id)
 
void SetKillCredit (uint32 credit)
 
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 GetWorldStateNeutral ()
 
uint32 GetWorldStateHorde ()
 
uint32 GetWorldStateAlliance ()
 
OutdoorPvPHP * GetOutdoorPvPHP () const
 
- Public Member Functions inherited from OutdoorPvPControlZoneHandler
 OutdoorPvPControlZoneHandler (OutdoorPvP *pvp)
 
virtual ~OutdoorPvPControlZoneHandler ()=default
 
OutdoorPvP * GetOutdoorPvP () const
 
- Public Member Functions inherited from ControlZoneHandler
 ControlZoneHandler ()
 
 ControlZoneHandler (ControlZoneHandler const &right)
 
 ControlZoneHandler (ControlZoneHandler &&right) noexcept
 
ControlZoneHandler & operator= (ControlZoneHandler const &right)
 
ControlZoneHandler & operator= (ControlZoneHandler &&right) noexcept
 
virtual ~ControlZoneHandler ()
 
virtual void HandleCaptureEventHorde (GameObject *controlZone)
 
virtual void HandleCaptureEventAlliance (GameObject *controlZone)
 
virtual void HandleContestedEventHorde (GameObject *controlZone)
 
virtual void HandleContestedEventAlliance (GameObject *controlZone)
 

Private Attributes

ObjectGuid _flagGuid
 
uint32 _textCaptureAlliance
 
uint32 _textCaptureHorde
 
uint32 _flagArtKitNeutral
 
uint32 _flagArtKitHorde
 
uint32 _flagArtKitAlliance
 
uint32 _worldstateNeutral
 
uint32 _worldstateHorde
 
uint32 _worldstateAlliance
 
uint32 _killCredit
 

Detailed Description

Definition at line 105 of file OutdoorPvPHP.h.

Constructor & Destructor Documentation

◆ HPControlZoneHandler()

HPControlZoneHandler::HPControlZoneHandler ( OutdoorPvPHP *  pvp)
explicit

Definition at line 223 of file OutdoorPvPHP.cpp.

Member Function Documentation

◆ GetOutdoorPvPHP()

◆ GetWorldStateAlliance()

uint32 HPControlZoneHandler::GetWorldStateAlliance ( )
inline

Definition at line 129 of file OutdoorPvPHP.h.

References _worldstateAlliance.

Referenced by OutdoorPvPHP::SendRemoveWorldStates().

◆ GetWorldStateHorde()

uint32 HPControlZoneHandler::GetWorldStateHorde ( )
inline

Definition at line 128 of file OutdoorPvPHP.h.

References _worldstateHorde.

Referenced by OutdoorPvPHP::SendRemoveWorldStates().

◆ GetWorldStateNeutral()

uint32 HPControlZoneHandler::GetWorldStateNeutral ( )
inline

Definition at line 127 of file OutdoorPvPHP.h.

References _worldstateNeutral.

Referenced by OutdoorPvPHP::SendRemoveWorldStates().

◆ HandleNeutralEvent()

◆ HandleNeutralEventAlliance()

void HPControlZoneHandler::HandleNeutralEventAlliance ( GameObject *  controlZone)
overridevirtual

◆ HandleNeutralEventHorde()

void HPControlZoneHandler::HandleNeutralEventHorde ( GameObject *  controlZone)
overridevirtual

◆ HandleProgressEventAlliance()

◆ HandleProgressEventHorde()

◆ SetFlagArtKitAlliance()

void HPControlZoneHandler::SetFlagArtKitAlliance ( uint32  artKit)
inline

Definition at line 115 of file OutdoorPvPHP.h.

References _flagArtKitAlliance.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetFlagArtKitHorde()

void HPControlZoneHandler::SetFlagArtKitHorde ( uint32  artKit)
inline

Definition at line 114 of file OutdoorPvPHP.h.

References _flagArtKitHorde.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetFlagArtKitNeutral()

void HPControlZoneHandler::SetFlagArtKitNeutral ( uint32  artKit)
inline

Definition at line 113 of file OutdoorPvPHP.h.

References _flagArtKitNeutral.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetFlagGuid()

void HPControlZoneHandler::SetFlagGuid ( ObjectGuid const &  guid)
inline

Definition at line 110 of file OutdoorPvPHP.h.

References _flagGuid.

Referenced by OutdoorPvPHP::OnGameObjectCreate().

◆ SetKillCredit()

void HPControlZoneHandler::SetKillCredit ( uint32  credit)
inline

Definition at line 119 of file OutdoorPvPHP.h.

References _killCredit.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetTextCaptureAlliance()

void HPControlZoneHandler::SetTextCaptureAlliance ( uint32  text)
inline

Definition at line 112 of file OutdoorPvPHP.h.

References _textCaptureAlliance.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetTextCaptureHorde()

void HPControlZoneHandler::SetTextCaptureHorde ( uint32  text)
inline

Definition at line 111 of file OutdoorPvPHP.h.

References _textCaptureHorde.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetWorldstateAlliance()

void HPControlZoneHandler::SetWorldstateAlliance ( uint32  id)
inline

Definition at line 118 of file OutdoorPvPHP.h.

References _worldstateAlliance.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetWorldstateHorde()

void HPControlZoneHandler::SetWorldstateHorde ( uint32  id)
inline

Definition at line 117 of file OutdoorPvPHP.h.

References _worldstateHorde.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

◆ SetWorldstateNeutral()

void HPControlZoneHandler::SetWorldstateNeutral ( uint32  id)
inline

Definition at line 116 of file OutdoorPvPHP.h.

References _worldstateNeutral.

Referenced by OutdoorPvPHP::OutdoorPvPHP().

Member Data Documentation

◆ _flagArtKitAlliance

uint32 HPControlZoneHandler::_flagArtKitAlliance
private

Definition at line 139 of file OutdoorPvPHP.h.

Referenced by HandleProgressEventAlliance(), and SetFlagArtKitAlliance().

◆ _flagArtKitHorde

uint32 HPControlZoneHandler::_flagArtKitHorde
private

Definition at line 138 of file OutdoorPvPHP.h.

Referenced by HandleProgressEventHorde(), and SetFlagArtKitHorde().

◆ _flagArtKitNeutral

uint32 HPControlZoneHandler::_flagArtKitNeutral
private

Definition at line 137 of file OutdoorPvPHP.h.

Referenced by HandleNeutralEvent(), and SetFlagArtKitNeutral().

◆ _flagGuid

ObjectGuid HPControlZoneHandler::_flagGuid
private

◆ _killCredit

uint32 HPControlZoneHandler::_killCredit
private

◆ _textCaptureAlliance

uint32 HPControlZoneHandler::_textCaptureAlliance
private

Definition at line 135 of file OutdoorPvPHP.h.

Referenced by HandleProgressEventAlliance(), and SetTextCaptureAlliance().

◆ _textCaptureHorde

uint32 HPControlZoneHandler::_textCaptureHorde
private

Definition at line 136 of file OutdoorPvPHP.h.

Referenced by HandleProgressEventHorde(), and SetTextCaptureHorde().

◆ _worldstateAlliance

uint32 HPControlZoneHandler::_worldstateAlliance
private

◆ _worldstateHorde

uint32 HPControlZoneHandler::_worldstateHorde
private

◆ _worldstateNeutral

uint32 HPControlZoneHandler::_worldstateNeutral
private

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