TrinityCore
Loading...
Searching...
No Matches
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 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 _effectiveHeal
 
uint32 _absorb
 
SpellInfo const *const _spellInfo
 
SpellSchoolMask const _schoolMask
 
uint32 _hitMask
 

Detailed Description

Definition at line 472 of file Unit.h.

Constructor & Destructor Documentation

◆ HealInfo()

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

Definition at line 237 of file Unit.cpp.

Member Function Documentation

◆ AbsorbHeal()

void HealInfo::AbsorbHeal ( uint32  amount)

Definition at line 242 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 494 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetEffectiveHeal()

uint32 HealInfo::GetEffectiveHeal ( ) const
inline

Definition at line 493 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHeal()

uint32 HealInfo::GetHeal ( ) const
inline

Definition at line 492 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHealer()

Unit * HealInfo::GetHealer ( ) const
inline

Definition at line 490 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetHitMask()

uint32 HealInfo::GetHitMask ( ) const

Definition at line 252 of file Unit.cpp.

◆ GetSchoolMask()

SpellSchoolMask HealInfo::GetSchoolMask ( ) const
inline

Definition at line 496 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetSpellInfo()

SpellInfo const * HealInfo::GetSpellInfo ( ) const
inline

Definition at line 495 of file Unit.h.

+ Here is the caller graph for this function:

◆ GetTarget()

Unit * HealInfo::GetTarget ( ) const
inline

Definition at line 491 of file Unit.h.

+ Here is the caller graph for this function:

◆ SetEffectiveHeal()

void HealInfo::SetEffectiveHeal ( uint32  amount)
inline

Definition at line 488 of file Unit.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _absorb

uint32 HealInfo::_absorb
private

Definition at line 479 of file Unit.h.

◆ _effectiveHeal

uint32 HealInfo::_effectiveHeal
private

Definition at line 478 of file Unit.h.

◆ _heal

uint32 HealInfo::_heal
private

Definition at line 477 of file Unit.h.

◆ _healer

Unit* const HealInfo::_healer
private

Definition at line 475 of file Unit.h.

◆ _hitMask

uint32 HealInfo::_hitMask
private

Definition at line 482 of file Unit.h.

◆ _schoolMask

SpellSchoolMask const HealInfo::_schoolMask
private

Definition at line 481 of file Unit.h.

◆ _spellInfo

SpellInfo const* const HealInfo::_spellInfo
private

Definition at line 480 of file Unit.h.

◆ _target

Unit* const HealInfo::_target
private

Definition at line 476 of file Unit.h.


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