TrinityCore
Loading...
Searching...
No Matches
SpellNonMeleeDamage Struct Reference

#include <Unit.h>

Public Member Functions

 SpellNonMeleeDamage (Unit *_attacker, Unit *_target, SpellInfo const *_spellInfo, SpellCastVisual spellVisual, uint32 _schoolMask, ObjectGuid _castId=ObjectGuid::Empty)
 

Public Attributes

Unit * target
 
Unit * attacker
 
ObjectGuid castId
 
SpellInfo const * Spell
 
SpellCastVisual SpellVisual
 
uint32 damage
 
uint32 originalDamage
 
uint32 schoolMask
 
uint32 absorb
 
uint32 resist
 
bool periodicLog
 
uint32 blocked
 
uint32 reflectingSpellId
 
uint32 HitInfo
 
uint32 cleanDamage
 
bool fullBlock
 
uint32 preHitHealth
 

Detailed Description

Definition at line 566 of file Unit.h.

Constructor & Destructor Documentation

◆ SpellNonMeleeDamage()

SpellNonMeleeDamage::SpellNonMeleeDamage ( Unit *  _attacker,
Unit *  _target,
SpellInfo const *  _spellInfo,
SpellCastVisual  spellVisual,
uint32  _schoolMask,
ObjectGuid  _castId = ObjectGuid::Empty 
)

Definition at line 303 of file Unit.cpp.

Member Data Documentation

◆ absorb

◆ attacker

◆ blocked

uint32 SpellNonMeleeDamage::blocked

◆ castId

ObjectGuid SpellNonMeleeDamage::castId

Definition at line 572 of file Unit.h.

Referenced by Unit::SendSpellNonMeleeDamageLog().

◆ cleanDamage

uint32 SpellNonMeleeDamage::cleanDamage

Definition at line 585 of file Unit.h.

Referenced by Unit::DealSpellDamage().

◆ damage

◆ fullBlock

bool SpellNonMeleeDamage::fullBlock

Definition at line 586 of file Unit.h.

Referenced by Unit::CalculateSpellDamageTaken(), and createProcHitMask().

◆ HitInfo

◆ originalDamage

◆ periodicLog

◆ preHitHealth

uint32 SpellNonMeleeDamage::preHitHealth

Definition at line 587 of file Unit.h.

Referenced by Unit::SendSpellNonMeleeDamageLog().

◆ reflectingSpellId

uint32 SpellNonMeleeDamage::reflectingSpellId

◆ resist

◆ schoolMask

uint32 SpellNonMeleeDamage::schoolMask

◆ Spell

SpellInfo const* SpellNonMeleeDamage::Spell

Definition at line 573 of file Unit.h.

Referenced by Unit::DealSpellDamage(), and Unit::SendSpellNonMeleeDamageLog().

◆ SpellVisual

SpellCastVisual SpellNonMeleeDamage::SpellVisual

Definition at line 574 of file Unit.h.

Referenced by Unit::SendSpellNonMeleeDamageLog().

◆ target


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