AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ProcTriggeredData Struct Reference

Public Member Functions

 ProcTriggeredData (Aura *_aura)
 
bool operator== (const uint32 spellId) const
 

Public Attributes

SpellProcEventEntry const * spellProcEvent
 
Auraaura
 
uint32 effMask
 
std::array< uint32, EFFECT_ALLtriggerSpelId
 

Detailed Description

Constructor & Destructor Documentation

◆ ProcTriggeredData()

ProcTriggeredData::ProcTriggeredData ( Aura _aura)
inline
15888 : aura(_aura)
15889 {
15890 effMask = 0;
15891 spellProcEvent = nullptr;
15892 triggerSpelId.fill(0);
15893 }
uint32 effMask
Definition Unit.cpp:15897
Aura * aura
Definition Unit.cpp:15896
std::array< uint32, EFFECT_ALL > triggerSpelId
Definition Unit.cpp:15898
SpellProcEventEntry const * spellProcEvent
Definition Unit.cpp:15895

References effMask, spellProcEvent, and triggerSpelId.

Member Function Documentation

◆ operator==()

bool ProcTriggeredData::operator== ( const uint32  spellId) const
inline
15901 {
15902 return aura->GetId() == spellId;
15903 }
uint32 GetId() const
Definition SpellAuras.cpp:466

References aura, and Aura::GetId().

Member Data Documentation

◆ aura

Aura* ProcTriggeredData::aura

◆ effMask

uint32 ProcTriggeredData::effMask

◆ spellProcEvent

SpellProcEventEntry const* ProcTriggeredData::spellProcEvent

◆ triggerSpelId

std::array<uint32, EFFECT_ALL> ProcTriggeredData::triggerSpelId

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