TrinityCore
Loading...
Searching...
No Matches
WindfuryProcEvent Class Reference
+ Inheritance diagram for WindfuryProcEvent:

Classes

struct  WindfuryProcEventInfo
 

Public Member Functions

 WindfuryProcEvent (Unit *shaman, Unit *target, std::ptrdiff_t attacks)
 
bool Execute (uint64 time, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()
 
virtual ~BasicEvent ()
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Static Public Member Functions

static void Trigger (Unit *shaman, Unit *target)
 

Static Public Attributes

static constexpr std::array< WindfuryProcEventInfo, 3 > Sequence
 

Private Types

using EventInfoIterator = decltype(Sequence)::const_iterator
 

Private Attributes

Unit_shaman
 
CastSpellTargetArg _target
 
EventInfoIterator _itr
 
EventInfoIterator _end
 

Detailed Description

Definition at line 194 of file spell_shaman.cpp.

Member Typedef Documentation

◆ EventInfoIterator

using WindfuryProcEvent::EventInfoIterator = decltype(Sequence)::const_iterator
private

Definition at line 219 of file spell_shaman.cpp.

Constructor & Destructor Documentation

◆ WindfuryProcEvent()

WindfuryProcEvent::WindfuryProcEvent ( Unit shaman,
Unit target,
std::ptrdiff_t  attacks 
)
inline

Definition at line 210 of file spell_shaman.cpp.

Member Function Documentation

◆ Execute()

bool WindfuryProcEvent::Execute ( uint64  time,
uint32   
)
overridevirtual

Reimplemented from BasicEvent.

Definition at line 3331 of file spell_shaman.cpp.

+ Here is the call graph for this function:

◆ Trigger()

void WindfuryProcEvent::Trigger ( Unit shaman,
Unit target 
)
static

Definition at line 3354 of file spell_shaman.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _end

EventInfoIterator WindfuryProcEvent::_end
private

Definition at line 221 of file spell_shaman.cpp.

◆ _itr

EventInfoIterator WindfuryProcEvent::_itr
private

Definition at line 220 of file spell_shaman.cpp.

◆ _shaman

Unit* WindfuryProcEvent::_shaman
private

Definition at line 217 of file spell_shaman.cpp.

◆ _target

CastSpellTargetArg WindfuryProcEvent::_target
private

Definition at line 218 of file spell_shaman.cpp.

◆ Sequence

constexpr std::array<WindfuryProcEventInfo, 3> WindfuryProcEvent::Sequence
staticconstexpr
Initial value:
=
{ {
{.Delay = 500ms, .VisualSpellId = SPELL_SHAMAN_WINDFURY_VISUAL_1 },
{.Delay = 150ms, .VisualSpellId = SPELL_SHAMAN_WINDFURY_VISUAL_2 },
{.Delay = 250ms, .VisualSpellId = SPELL_SHAMAN_WINDFURY_VISUAL_3 },
} }
@ SPELL_SHAMAN_WINDFURY_VISUAL_1
@ SPELL_SHAMAN_WINDFURY_VISUAL_3
@ SPELL_SHAMAN_WINDFURY_VISUAL_2

Definition at line 203 of file spell_shaman.cpp.


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