TrinityCore
HealInfo Class Reference

#include <Unit.h>

Public Member Functions

 HealInfo (Unit *healer, Unit *target, uint32 heal, SpellInfo const *spellInfo, SpellSchoolMask schoolMask)
 
void AbsorbHeal (uint32 amount)
 
void SetEffectiveHeal (uint32 amount)
 
UnitGetHealer () const
 
UnitGetTarget () const
 
uint32 GetHeal () const
 
uint32 GetOriginalHeal () const
 
uint32 GetEffectiveHeal () const
 
uint32 GetAbsorb () const
 
SpellInfo const * GetSpellInfo () const
 
SpellSchoolMask GetSchoolMask () const
 
uint32 GetHitMask () const
 

Private Attributes

Unit *const _healer
 
Unit *const _target
 
uint32 _heal
 
uint32 const _originalHeal
 
uint32 _effectiveHeal
 
uint32 _absorb
 
SpellInfo const *const _spellInfo
 
SpellSchoolMask const _schoolMask
 
uint32 _hitMask
 

Detailed Description

Definition at line 455 of file Unit.h.

Constructor & Destructor Documentation

◆ HealInfo()

HealInfo::HealInfo ( Unit healer,
Unit target,
uint32  heal,
SpellInfo const *  spellInfo,
SpellSchoolMask  schoolMask 
)

Definition at line 249 of file Unit.cpp.

Member Function Documentation

◆ AbsorbHeal()

void HealInfo::AbsorbHeal ( uint32  amount)

Definition at line 254 of file Unit.cpp.

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

◆ GetAbsorb()

uint32 HealInfo::GetAbsorb ( ) const
inline

Definition at line 479 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetEffectiveHeal()

uint32 HealInfo::GetEffectiveHeal ( ) const
inline

Definition at line 478 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHeal()

uint32 HealInfo::GetHeal ( ) const
inline

Definition at line 476 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHealer()

Unit * HealInfo::GetHealer ( ) const
inline

Definition at line 474 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHitMask()

uint32 HealInfo::GetHitMask ( ) const

Definition at line 264 of file Unit.cpp.

◆ GetOriginalHeal()

uint32 HealInfo::GetOriginalHeal ( ) const
inline

Definition at line 477 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetSchoolMask()

SpellSchoolMask HealInfo::GetSchoolMask ( ) const
inline

Definition at line 481 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetSpellInfo()

SpellInfo const * HealInfo::GetSpellInfo ( ) const
inline

Definition at line 480 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetTarget()

Unit * HealInfo::GetTarget ( ) const
inline

Definition at line 475 of file Unit.h.

+ Here is the caller graph for this function:

◆ SetEffectiveHeal()

void HealInfo::SetEffectiveHeal ( uint32  amount)
inline

Definition at line 472 of file Unit.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _absorb

uint32 HealInfo::_absorb
private

Definition at line 463 of file Unit.h.

◆ _effectiveHeal

uint32 HealInfo::_effectiveHeal
private

Definition at line 462 of file Unit.h.

◆ _heal

uint32 HealInfo::_heal
private

Definition at line 460 of file Unit.h.

◆ _healer

Unit* const HealInfo::_healer
private

Definition at line 458 of file Unit.h.

◆ _hitMask

uint32 HealInfo::_hitMask
private

Definition at line 466 of file Unit.h.

◆ _originalHeal

uint32 const HealInfo::_originalHeal
private

Definition at line 461 of file Unit.h.

◆ _schoolMask

SpellSchoolMask const HealInfo::_schoolMask
private

Definition at line 465 of file Unit.h.

◆ _spellInfo

SpellInfo const* const HealInfo::_spellInfo
private

Definition at line 464 of file Unit.h.

◆ _target

Unit* const HealInfo::_target
private

Definition at line 459 of file Unit.h.


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