TrinityCore
Loading...
Searching...
No Matches
PvPInfo Struct Reference

#include <Player.h>

Public Member Functions

 PvPInfo ()
 

Public Attributes

bool IsHostile
 
bool IsInHostileArea
 
bool IsInNoPvPArea
 

‍Marks if player is in an area which forces PvP flag


 
bool IsInFFAPvPArea
 

‍Marks if player is in a sanctuary or friendly capital city


 
time_t EndTimer
 

‍Marks if player is in an FFAPvP area (such as Gurubashi Arena)


 

Detailed Description

Definition at line 434 of file Player.h.

Constructor & Destructor Documentation

◆ PvPInfo()

PvPInfo::PvPInfo ( )
inline

Definition at line 436 of file Player.h.

Member Data Documentation

◆ EndTimer

time_t PvPInfo::EndTimer

‍Marks if player is in an FFAPvP area (such as Gurubashi Arena)

Definition at line 442 of file Player.h.

Referenced by WorldSession::HandleSetPvP(), WorldSession::HandleTogglePvP(), Player::UpdatePvP(), Player::UpdatePvPFlag(), and Player::UpdatePvPState().

◆ IsHostile

◆ IsInFFAPvPArea

bool PvPInfo::IsInFFAPvPArea

‍Marks if player is in a sanctuary or friendly capital city

Definition at line 441 of file Player.h.

Referenced by Player::UpdateArea(), and Player::UpdatePvPState().

◆ IsInHostileArea

◆ IsInNoPvPArea

bool PvPInfo::IsInNoPvPArea

‍Marks if player is in an area which forces PvP flag

Definition at line 440 of file Player.h.

Referenced by Player::UpdateArea(), Player::UpdatePvPState(), and Player::UpdateZone().


The documentation for this struct was generated from the following file: