TrinityCore
ProcEventInfo Class Reference

#include <Unit.h>

Public Member Functions

 ProcEventInfo (Unit *actor, Unit *actionTarget, Unit *procTarget, ProcFlagsInit const &typeMask, ProcFlagsSpellType spellTypeMask, ProcFlagsSpellPhase spellPhaseMask, ProcFlagsHit hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)
 
UnitGetActor () const
 
UnitGetActionTarget () const
 
UnitGetProcTarget () const
 
ProcFlagsInit GetTypeMask () const
 
ProcFlagsSpellType GetSpellTypeMask () const
 
ProcFlagsSpellPhase GetSpellPhaseMask () const
 
ProcFlagsHit GetHitMask () const
 
SpellInfo const * GetSpellInfo () const
 
SpellSchoolMask GetSchoolMask () const
 
DamageInfoGetDamageInfo () const
 
HealInfoGetHealInfo () const
 
Spell const * GetProcSpell () const
 

Private Attributes

Unit *const _actor
 
Unit *const _actionTarget
 
Unit *const _procTarget
 
ProcFlagsInit _typeMask
 
ProcFlagsSpellType _spellTypeMask
 
ProcFlagsSpellPhase _spellPhaseMask
 
ProcFlagsHit _hitMask
 
Spell_spell
 
DamageInfo_damageInfo
 
HealInfo_healInfo
 

Detailed Description

Definition at line 487 of file Unit.h.

Constructor & Destructor Documentation

◆ ProcEventInfo()

ProcEventInfo::ProcEventInfo ( Unit actor,
Unit actionTarget,
Unit procTarget,
ProcFlagsInit const &  typeMask,
ProcFlagsSpellType  spellTypeMask,
ProcFlagsSpellPhase  spellPhaseMask,
ProcFlagsHit  hitMask,
Spell spell,
DamageInfo damageInfo,
HealInfo healInfo 
)

Definition at line 269 of file Unit.cpp.

Member Function Documentation

◆ GetActionTarget()

Unit * ProcEventInfo::GetActionTarget ( ) const
inline

Definition at line 495 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetActor()

Unit * ProcEventInfo::GetActor ( ) const
inline

Definition at line 494 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetDamageInfo()

DamageInfo * ProcEventInfo::GetDamageInfo ( ) const
inline

Definition at line 506 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHealInfo()

HealInfo * ProcEventInfo::GetHealInfo ( ) const
inline

Definition at line 507 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHitMask()

ProcFlagsHit ProcEventInfo::GetHitMask ( ) const
inline

Definition at line 501 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetProcSpell()

Spell const * ProcEventInfo::GetProcSpell ( ) const
inline

Definition at line 509 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetProcTarget()

Unit * ProcEventInfo::GetProcTarget ( ) const
inline

Definition at line 496 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetSchoolMask()

SpellSchoolMask ProcEventInfo::GetSchoolMask ( ) const

Definition at line 291 of file Unit.cpp.

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

◆ GetSpellInfo()

SpellInfo const * ProcEventInfo::GetSpellInfo ( ) const

Definition at line 280 of file Unit.cpp.

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

◆ GetSpellPhaseMask()

ProcFlagsSpellPhase ProcEventInfo::GetSpellPhaseMask ( ) const
inline

Definition at line 500 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetSpellTypeMask()

ProcFlagsSpellType ProcEventInfo::GetSpellTypeMask ( ) const
inline

Definition at line 499 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetTypeMask()

ProcFlagsInit ProcEventInfo::GetTypeMask ( ) const
inline

Definition at line 498 of file Unit.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _actionTarget

Unit* const ProcEventInfo::_actionTarget
private

Definition at line 513 of file Unit.h.

◆ _actor

Unit* const ProcEventInfo::_actor
private

Definition at line 512 of file Unit.h.

◆ _damageInfo

DamageInfo* ProcEventInfo::_damageInfo
private

Definition at line 520 of file Unit.h.

◆ _healInfo

HealInfo* ProcEventInfo::_healInfo
private

Definition at line 521 of file Unit.h.

◆ _hitMask

ProcFlagsHit ProcEventInfo::_hitMask
private

Definition at line 518 of file Unit.h.

◆ _procTarget

Unit* const ProcEventInfo::_procTarget
private

Definition at line 514 of file Unit.h.

◆ _spell

Spell* ProcEventInfo::_spell
private

Definition at line 519 of file Unit.h.

◆ _spellPhaseMask

ProcFlagsSpellPhase ProcEventInfo::_spellPhaseMask
private

Definition at line 517 of file Unit.h.

◆ _spellTypeMask

ProcFlagsSpellType ProcEventInfo::_spellTypeMask
private

Definition at line 516 of file Unit.h.

◆ _typeMask

ProcFlagsInit ProcEventInfo::_typeMask
private

Definition at line 515 of file Unit.h.


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