AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
CleanDamage Struct Reference

#include "Unit.h"

Public Member Functions

 CleanDamage (uint32 mitigated, uint32 absorbed, WeaponAttackType _attackType, MeleeHitOutcome _hitOutCome)
 

Public Attributes

uint32 absorbed_damage
 
uint32 mitigated_damage
 
WeaponAttackType attackType
 
MeleeHitOutcome hitOutCome
 

Detailed Description

Constructor & Destructor Documentation

◆ CleanDamage()

CleanDamage::CleanDamage ( uint32  mitigated,
uint32  absorbed,
WeaponAttackType  _attackType,
MeleeHitOutcome  _hitOutCome 
)
inline
316 :
317 absorbed_damage(absorbed), mitigated_damage(mitigated), attackType(_attackType), hitOutCome(_hitOutCome) {}
MeleeHitOutcome hitOutCome
Definition: Unit.h:323
uint32 mitigated_damage
Definition: Unit.h:320
uint32 absorbed_damage
Definition: Unit.h:319
WeaponAttackType attackType
Definition: Unit.h:322

Member Data Documentation

◆ absorbed_damage

uint32 CleanDamage::absorbed_damage

Referenced by Unit::DealDamage().

◆ attackType

WeaponAttackType CleanDamage::attackType

Referenced by Unit::DealDamage().

◆ hitOutCome

MeleeHitOutcome CleanDamage::hitOutCome

Referenced by Unit::DealDamage().

◆ mitigated_damage