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()

◆ Trigger()

Member Data Documentation

◆ _end

EventInfoIterator WindfuryProcEvent::_end
private

Definition at line 221 of file spell_shaman.cpp.

Referenced by Execute().

◆ _itr

EventInfoIterator WindfuryProcEvent::_itr
private

Definition at line 220 of file spell_shaman.cpp.

Referenced by Execute().

◆ _shaman

Unit* WindfuryProcEvent::_shaman
private

Definition at line 217 of file spell_shaman.cpp.

Referenced by Execute().

◆ _target

CastSpellTargetArg WindfuryProcEvent::_target
private

Definition at line 218 of file spell_shaman.cpp.

Referenced by Execute().

◆ 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.

Referenced by Trigger().


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