Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
PvPInfo Struct Reference

#include <Player.h>

Public Member Functions

 PvPInfo ()

Public Attributes

time_t EndTimer
bool IsHostile
bool IsInFFAPvPArea
bool IsInHostileArea
bool IsInNoPvPArea

Detailed Description

Definition at line 441 of file Player.h.

Constructor & Destructor Documentation

◆ PvPInfo()

PvPInfo::PvPInfo ( )
inline

Definition at line 443 of file Player.h.

References EndTimer, IsHostile, IsInFFAPvPArea, IsInHostileArea, and IsInNoPvPArea.

Member Data Documentation

◆ EndTimer

time_t PvPInfo::EndTimer

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

Definition at line 450 of file Player.h.

Referenced by WorldSession::HandleTogglePvP(), and PvPInfo().

◆ IsHostile

◆ IsInFFAPvPArea

bool PvPInfo::IsInFFAPvPArea

Marks if player is in a sanctuary or friendly capital city

Definition at line 449 of file Player.h.

Referenced by PvPInfo().

◆ IsInHostileArea

bool PvPInfo::IsInHostileArea

◆ IsInNoPvPArea

bool PvPInfo::IsInNoPvPArea

Marks if player is in an area which forces PvP flag

Definition at line 448 of file Player.h.

Referenced by PvPInfo().


The documentation for this struct was generated from the following file:
  • src/server/game/Entities/Player/Player.h