TrinityCore
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
 

Constructor & Destructor Documentation

◆ CleanDamage()

CleanDamage::CleanDamage ( uint32  mitigated,
uint32  absorbed,
WeaponAttackType  _attackType,
MeleeHitOutcome  _hitOutCome 
)
inline
397  :
398  absorbed_damage(absorbed), mitigated_damage(mitigated), attackType(_attackType), hitOutCome(_hitOutCome) { }
WeaponAttackType attackType
Definition: Unit.h:403
uint32 mitigated_damage
Definition: Unit.h:401
MeleeHitOutcome hitOutCome
Definition: Unit.h:404
uint32 absorbed_damage
Definition: Unit.h:400

Member Data Documentation

◆ absorbed_damage

uint32 CleanDamage::absorbed_damage

◆ attackType

WeaponAttackType CleanDamage::attackType

◆ hitOutCome

MeleeHitOutcome CleanDamage::hitOutCome

◆ mitigated_damage

uint32 CleanDamage::mitigated_damage

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