Project SkyFire Core
SkyFire 5.4.8 server core API documentation
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
WeaponAttackType attackType
MeleeHitOutcome hitOutCome
uint32 mitigated_damage

Detailed Description

Definition at line 862 of file Unit.h.

Constructor & Destructor Documentation

◆ CleanDamage()

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

Definition at line 864 of file Unit.h.

References absorbed_damage, attackType, hitOutCome, and mitigated_damage.

Member Data Documentation

◆ absorbed_damage

uint32 CleanDamage::absorbed_damage

Definition at line 868 of file Unit.h.

Referenced by CleanDamage(), and Unit::DealDamage().

◆ attackType

WeaponAttackType CleanDamage::attackType

Definition at line 871 of file Unit.h.

Referenced by CleanDamage(), and Unit::DealDamage().

◆ hitOutCome

MeleeHitOutcome CleanDamage::hitOutCome

Definition at line 872 of file Unit.h.

Referenced by CleanDamage().

◆ mitigated_damage

uint32 CleanDamage::mitigated_damage

The documentation for this struct was generated from the following file:
  • src/server/game/Entities/Unit/Unit.h