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

#include <Unit.h>

Public Member Functions

uint64 GetTargetGUID () const
uint32 GetThreatPct () const
void ModifyThreatPct (int32 amount)
 RedirectThreatInfo ()
void Set (uint64 guid, uint32 pct)

Public Attributes

uint64 _targetGUID
uint32 _threatPct

Detailed Description

Definition at line 1069 of file Unit.h.

Constructor & Destructor Documentation

◆ RedirectThreatInfo()

RedirectThreatInfo::RedirectThreatInfo ( )
inline

Definition at line 1071 of file Unit.h.

References _targetGUID, and _threatPct.

Member Function Documentation

◆ GetTargetGUID()

uint64 RedirectThreatInfo::GetTargetGUID ( ) const
inline

Definition at line 1076 of file Unit.h.

References _targetGUID.

◆ GetThreatPct()

uint32 RedirectThreatInfo::GetThreatPct ( ) const
inline

Definition at line 1080 of file Unit.h.

References _threatPct.

◆ ModifyThreatPct()

void RedirectThreatInfo::ModifyThreatPct ( int32 amount)
inline

Definition at line 1091 of file Unit.h.

References _threatPct.

◆ Set()

void RedirectThreatInfo::Set ( uint64 guid,
uint32 pct )
inline

Definition at line 1085 of file Unit.h.

References _targetGUID, and _threatPct.

Member Data Documentation

◆ _targetGUID

uint64 RedirectThreatInfo::_targetGUID

Definition at line 1073 of file Unit.h.

Referenced by GetTargetGUID(), RedirectThreatInfo(), and Set().

◆ _threatPct

uint32 RedirectThreatInfo::_threatPct

Definition at line 1074 of file Unit.h.

Referenced by GetThreatPct(), ModifyThreatPct(), RedirectThreatInfo(), and Set().


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