Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Skyfire::UnitAuraCheck Class Reference

#include <GridNotifiers.h>

Public Member Functions

bool operator() (Unit *unit) const
bool operator() (WorldObject *object) const
 UnitAuraCheck (bool present, uint32 spellId, uint64 casterGUID=0)

Private Attributes

uint64 _casterGUID
bool _present
uint32 _spellId

Detailed Description

Definition at line 1409 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ UnitAuraCheck()

Skyfire::UnitAuraCheck::UnitAuraCheck ( bool present,
uint32 spellId,
uint64 casterGUID = 0 )
inline

Definition at line 1412 of file GridNotifiers.h.

References _casterGUID, _present, and _spellId.

Member Function Documentation

◆ operator()() [1/2]

bool Skyfire::UnitAuraCheck::operator() ( Unit * unit) const
inline

Definition at line 1413 of file GridNotifiers.h.

References _casterGUID, _present, _spellId, and Unit::HasAura().

◆ operator()() [2/2]

bool Skyfire::UnitAuraCheck::operator() ( WorldObject * object) const
inline

Definition at line 1418 of file GridNotifiers.h.

References _casterGUID, _present, and _spellId.

Member Data Documentation

◆ _casterGUID

uint64 Skyfire::UnitAuraCheck::_casterGUID
private

Definition at line 1426 of file GridNotifiers.h.

Referenced by operator()(), operator()(), and UnitAuraCheck().

◆ _present

bool Skyfire::UnitAuraCheck::_present
private

Definition at line 1424 of file GridNotifiers.h.

Referenced by operator()(), operator()(), and UnitAuraCheck().

◆ _spellId

uint32 Skyfire::UnitAuraCheck::_spellId
private

Definition at line 1425 of file GridNotifiers.h.

Referenced by operator()(), operator()(), and UnitAuraCheck().


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