TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SpellNonMeleeDamage Struct Reference

#include <Unit.h>

Public Member Functions

 SpellNonMeleeDamage (Unit *_attacker, Unit *_target, uint32 _SpellID, uint32 _schoolMask)
 

Public Attributes

Unittarget
 
Unitattacker
 
uint32 SpellID
 
uint32 damage
 
uint32 schoolMask
 
uint32 absorb
 
uint32 resist
 
bool periodicLog
 
uint32 blocked
 
uint32 HitInfo
 
uint32 cleanDamage
 
uint32 preHitHealth
 

Constructor & Destructor Documentation

SpellNonMeleeDamage::SpellNonMeleeDamage ( Unit _attacker,
Unit _target,
uint32  _SpellID,
uint32  _schoolMask 
)
168  : target(_target), attacker(_attacker), SpellID(_SpellID), damage(0), schoolMask(_schoolMask),
169  absorb(0), resist(0), periodicLog(false), blocked(0), HitInfo(0), cleanDamage(0), preHitHealth(_target->GetHealth())
170 {
171 }
uint32 SpellID
Definition: Unit.h:1048
Unit * attacker
Definition: Unit.h:1047
bool periodicLog
Definition: Unit.h:1053
uint32 cleanDamage
Definition: Unit.h:1057
uint32 resist
Definition: Unit.h:1052
uint32 blocked
Definition: Unit.h:1054
uint32 schoolMask
Definition: Unit.h:1050
uint32 HitInfo
Definition: Unit.h:1055
uint32 damage
Definition: Unit.h:1049
Unit * target
Definition: Unit.h:1046
uint32 preHitHealth
Definition: Unit.h:1058
uint32 GetHealth() const
Definition: Unit.h:1426
uint32 absorb
Definition: Unit.h:1051

Member Data Documentation

uint32 SpellNonMeleeDamage::absorb
Unit* SpellNonMeleeDamage::attacker
uint32 SpellNonMeleeDamage::blocked
uint32 SpellNonMeleeDamage::cleanDamage
uint32 SpellNonMeleeDamage::damage
uint32 SpellNonMeleeDamage::HitInfo
bool SpellNonMeleeDamage::periodicLog
uint32 SpellNonMeleeDamage::preHitHealth
uint32 SpellNonMeleeDamage::resist
uint32 SpellNonMeleeDamage::schoolMask
uint32 SpellNonMeleeDamage::SpellID
Unit* SpellNonMeleeDamage::target

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