TrinityCore
OPvPCapturePoint Class Referenceabstract

#include <OutdoorPvP.h>

+ Inheritance diagram for OPvPCapturePoint:

Public Member Functions

 OPvPCapturePoint (OutdoorPvP *pvp)
 
virtual ~OPvPCapturePoint ()
 
 OPvPCapturePoint (OPvPCapturePoint const &right)=delete
 
 OPvPCapturePoint (OPvPCapturePoint &&right)=delete
 
OPvPCapturePointoperator= (OPvPCapturePoint const &right)=delete
 
OPvPCapturePointoperator= (OPvPCapturePoint &&right)=delete
 
virtual void Update (uint32 diff)
 
virtual bool HandleCustomSpell (Player *player, uint32 spellId, GameObject *go)
 
virtual int32 HandleOpenGo (Player *player, GameObject *go)
 
virtual void ChangeState ()=0
 
virtual void ChangeTeam (TeamId)
 
virtual bool HandleDropFlag (Player *, uint32)
 

Protected Attributes

TeamId m_team
 
ObjectiveStates m_OldState
 
ObjectiveStates m_State
 
OutdoorPvPm_PvP
 

Detailed Description

Definition at line 78 of file OutdoorPvP.h.

Constructor & Destructor Documentation

◆ OPvPCapturePoint() [1/3]

OPvPCapturePoint::OPvPCapturePoint ( OutdoorPvP pvp)

Definition at line 55 of file OutdoorPvP.cpp.

◆ ~OPvPCapturePoint()

virtual OPvPCapturePoint::~OPvPCapturePoint ( )
inlinevirtual

Definition at line 84 of file OutdoorPvP.h.

◆ OPvPCapturePoint() [2/3]

OPvPCapturePoint::OPvPCapturePoint ( OPvPCapturePoint const &  right)
delete

◆ OPvPCapturePoint() [3/3]

OPvPCapturePoint::OPvPCapturePoint ( OPvPCapturePoint &&  right)
delete

Member Function Documentation

◆ ChangeState()

virtual void OPvPCapturePoint::ChangeState ( )
pure virtual

◆ ChangeTeam()

virtual void OPvPCapturePoint::ChangeTeam ( TeamId  )
inlinevirtual

Definition at line 99 of file OutdoorPvP.h.

◆ HandleCustomSpell()

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

Reimplemented in OPvPCapturePointNA.

Definition at line 134 of file OutdoorPvP.cpp.

+ Here is the call graph for this function:

◆ HandleDropFlag()

virtual bool OPvPCapturePoint::HandleDropFlag ( Player ,
uint32   
)
inlinevirtual

Reimplemented in OPvPCapturePointZM_Graveyard.

Definition at line 101 of file OutdoorPvP.h.

◆ HandleOpenGo()

int32 OPvPCapturePoint::HandleOpenGo ( Player player,
GameObject go 
)
virtual

Reimplemented in OPvPCapturePointNA, and OPvPCapturePointZM_Graveyard.

Definition at line 159 of file OutdoorPvP.cpp.

+ Here is the caller graph for this function:

◆ operator=() [1/2]

OPvPCapturePoint & OPvPCapturePoint::operator= ( OPvPCapturePoint &&  right)
delete

◆ operator=() [2/2]

OPvPCapturePoint & OPvPCapturePoint::operator= ( OPvPCapturePoint const &  right)
delete

◆ Update()

virtual void OPvPCapturePoint::Update ( uint32  diff)
inlinevirtual

Reimplemented in OPvPCapturePointNA, and OPvPCapturePointZM_Graveyard.

Definition at line 91 of file OutdoorPvP.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_OldState

ObjectiveStates OPvPCapturePoint::m_OldState
protected

Definition at line 108 of file OutdoorPvP.h.

◆ m_PvP

OutdoorPvP* OPvPCapturePoint::m_PvP
protected

Definition at line 112 of file OutdoorPvP.h.

◆ m_State

ObjectiveStates OPvPCapturePoint::m_State
protected

Definition at line 109 of file OutdoorPvP.h.

◆ m_team

TeamId OPvPCapturePoint::m_team
protected

Definition at line 105 of file OutdoorPvP.h.


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