Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ProcEventInfo Class Reference

#include <Unit.h>

Collaboration diagram for ProcEventInfo:

Public Member Functions

UnitGetActionTarget () const
UnitGetActor () const
DamageInfoGetDamageInfo () const
HealInfoGetHealInfo () const
uint32 GetHitMask () const
UnitGetProcTarget () const
SpellSchoolMask GetSchoolMask () const
SpellInfo const * GetSpellInfo () const
uint32 GetSpellPhaseMask () const
uint32 GetSpellTypeMask () const
uint32 GetTypeMask () const
 ProcEventInfo (Unit *actor, Unit *actionTarget, Unit *procTarget, uint32 typeMask, uint32 spellTypeMask, uint32 spellPhaseMask, uint32 hitMask, Spell *spell, DamageInfo *damageInfo, HealInfo *healInfo)

Private Attributes

Unit *const _actionTarget
Unit *const _actor
DamageInfo_damageInfo
HealInfo_healInfo
uint32 _hitMask
Unit *const _procTarget
Spell_spell
uint32 _spellPhaseMask
uint32 _spellTypeMask
uint32 _typeMask

Detailed Description

Definition at line 965 of file Unit.h.

Constructor & Destructor Documentation

◆ ProcEventInfo()

ProcEventInfo::ProcEventInfo ( Unit * actor,
Unit * actionTarget,
Unit * procTarget,
uint32 typeMask,
uint32 spellTypeMask,
uint32 spellPhaseMask,
uint32 hitMask,
Spell * spell,
DamageInfo * damageInfo,
HealInfo * healInfo )

Member Function Documentation

◆ GetActionTarget()

◆ GetActor()

◆ GetDamageInfo()

DamageInfo * ProcEventInfo::GetDamageInfo ( ) const
inline

Definition at line 985 of file Unit.h.

References _damageInfo.

Referenced by Aura::CalcProcChance(), spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::CheckProc(), spell_gen_adaptive_warding::spell_gen_adaptive_warding_AuraScript::CheckProc(), spell_gen_alchemist_stone::spell_gen_alchemist_stone_AuraScript::CheckProc(), spell_gen_obsidian_armor::spell_gen_obsidian_armor_AuraScript::CheckProc(), spell_pri_vampiric_embrace::spell_pri_vampiric_embrace_AuraScript::CheckProc(), spell_rog_blade_flurry::spell_rog_blade_flurry_AuraScript::CheckProc(), spell_sha_nature_guardian::spell_sha_nature_guardian_AuraScript::CheckProc(), spell_uk_second_wind_proc::spell_uk_second_wind_proc_AuraScript::CheckProc(), spell_warl_fel_synergy::spell_warl_fel_synergy_AuraScript::CheckProc(), spell_warr_second_wind_proc::spell_warr_second_wind_proc_AuraScript::CheckProc(), spell_dru_stampede::spell_dru_stampede_AuraScript::HandleEffectBearProc(), spell_dru_stampede::spell_dru_stampede_AuraScript::HandleEffectCatProc(), spell_pal_eye_for_an_eye::spell_pal_eye_for_an_eye_AuraScript::HandleEffectProc(), spell_pri_vampiric_embrace::spell_pri_vampiric_embrace_AuraScript::HandleEffectProc(), spell_sha_telluric_currents::spell_sha_telluric_currents_AuraScript::HandleEffectProc(), spell_pri_evangelism::spell_pri_evangelism_AuraScript::HandleEffectStackProc(), spell_devourer_of_souls_mirrored_soul_proc::spell_devourer_of_souls_mirrored_soul_proc_AuraScript::HandleProc(), spell_dk_blood_gorged::spell_dk_blood_gorged_AuraScript::HandleProc(), spell_dk_death_strike_enabler::spell_dk_death_strike_enabler_AuraScript::HandleProc(), spell_gen_alchemist_stone::spell_gen_alchemist_stone_AuraScript::HandleProc(), spell_item_necrotic_touch::spell_item_necrotic_touch_AuraScript::HandleProc(), spell_mage_ignite::spell_mage_ignite_AuraScript::HandleProc(), spell_monk_tiger_strikes::spell_monk_tiger_strikes_AuraScript::HandleProc(), spell_pal_beacon_of_light::spell_pal_beacon_of_light_AuraScript::HandleProc(), spell_rog_blade_flurry::spell_rog_blade_flurry_AuraScript::HandleProc(), spell_the_lich_king_dark_hunger::spell_the_lich_king_dark_hunger_AuraScript::HandleProc(), spell_yogg_saron_grim_reprisal::spell_yogg_saron_grim_reprisal_AuraScript::HandleProc(), Aura::IsProcTriggeredOnEvent(), spell_blood_queen_essence_of_the_blood_queen::spell_blood_queen_essence_of_the_blood_queen_AuraScript::OnProc(), spell_monk_serpents_zeal::spell_monk_serpents_zeal_AuraScript::OnProc(), and spell_warl_fel_synergy::spell_warl_fel_synergy_AuraScript::OnProc().

◆ GetHealInfo()

◆ GetHitMask()

uint32 ProcEventInfo::GetHitMask ( ) const
inline

Definition at line 979 of file Unit.h.

References _hitMask.

Referenced by SpellMgr::CanSpellTriggerProcOnEvent().

◆ GetProcTarget()

Unit * ProcEventInfo::GetProcTarget ( ) const
inline

Definition at line 974 of file Unit.h.

References _procTarget.

Referenced by spell_dru_glyph_of_innervate::spell_dru_glyph_of_innervate_AuraScript::CheckProc(), spell_item_blessing_of_ancient_kings::spell_item_blessing_of_ancient_kings_AuraScript::CheckProc(), spell_item_necrotic_touch::spell_item_necrotic_touch_AuraScript::CheckProc(), spell_item_shadowmourne::spell_item_shadowmourne_AuraScript::CheckProc(), spell_mage_ignite::spell_mage_ignite_AuraScript::CheckProc(), spell_pal_seal_of_righteousness::spell_pal_seal_of_righteousness_AuraScript::CheckProc(), spell_pri_divine_aegis::spell_pri_divine_aegis_AuraScript::CheckProc(), spell_pri_vampiric_touch::spell_pri_vampiric_touch_AuraScript::CheckProc(), spell_rog_blade_flurry::spell_rog_blade_flurry_AuraScript::CheckProc(), spell_sha_glyph_of_healing_wave::spell_sha_glyph_of_healing_wave_AuraScript::CheckProc(), spell_uk_second_wind_proc::spell_uk_second_wind_proc_AuraScript::CheckProc(), spell_warr_retaliation::spell_warr_retaliation_AuraScript::CheckProc(), spell_warr_second_wind_proc::spell_warr_second_wind_proc_AuraScript::CheckProc(), spell_warr_sweeping_strikes::spell_warr_sweeping_strikes_AuraScript::CheckProc(), spell_mage_nether_vortex::spell_mage_nether_vortex_AuraScript::DoCheck(), spell_dru_glyph_of_starfire_proc::spell_dru_glyph_of_starfire_proc_AuraScript::HandleEffectProc(), spell_mage_glyph_of_polymorph::spell_mage_glyph_of_polymorph_AuraScript::HandleEffectProc(), spell_mage_nether_vortex::spell_mage_nether_vortex_AuraScript::HandleEffectProc(), spell_pal_eye_for_an_eye::spell_pal_eye_for_an_eye_AuraScript::HandleEffectProc(), spell_pri_vampiric_touch::spell_pri_vampiric_touch_AuraScript::HandleEffectProc(), spell_warr_retaliation::spell_warr_retaliation_AuraScript::HandleEffectProc(), spell_pri_evangelism::spell_pri_evangelism_AuraScript::HandleEffectStackProc(), spell_dru_living_seed::spell_dru_living_seed_AuraScript::HandleProc(), spell_gen_interrupt::spell_gen_interrupt_AuraScript::HandleProc(), spell_item_blessing_of_ancient_kings::spell_item_blessing_of_ancient_kings_AuraScript::HandleProc(), spell_item_necrotic_touch::spell_item_necrotic_touch_AuraScript::HandleProc(), spell_item_shadowmourne::spell_item_shadowmourne_AuraScript::HandleProc(), spell_mage_ignite::spell_mage_ignite_AuraScript::HandleProc(), spell_pal_seal_of_righteousness::spell_pal_seal_of_righteousness_AuraScript::HandleProc(), spell_pri_divine_aegis::spell_pri_divine_aegis_AuraScript::HandleProc(), AuraEffect::HandleProcTriggerDamageAuraProc(), AuraEffect::HandleProcTriggerSpellAuraProc(), AuraEffect::HandleProcTriggerSpellWithValueAuraProc(), spell_rog_crippling_poison::spell_rog_crippling_poison_AuraScript::OnProc(), spell_sha_item_lightning_shield::spell_sha_item_lightning_shield_AuraScript::OnProc(), spell_sha_nature_guardian::spell_sha_nature_guardian_AuraScript::OnProc(), Unit::ProcDamageAndSpellFor(), spell_flame_warder_meteor_fists::spell_flame_warder_meteor_fists_AuraScript::TriggerFists(), and spell_koralon_meteor_fists::spell_koralon_meteor_fists_AuraScript::TriggerFists().

◆ GetSchoolMask()

◆ GetSpellInfo()

SpellInfo const * ProcEventInfo::GetSpellInfo ( ) const
inline

Definition at line 982 of file Unit.h.

Referenced by SpellMgr::CanSpellTriggerProcOnEvent().

◆ GetSpellPhaseMask()

uint32 ProcEventInfo::GetSpellPhaseMask ( ) const
inline

Definition at line 978 of file Unit.h.

References _spellPhaseMask.

Referenced by SpellMgr::CanSpellTriggerProcOnEvent().

◆ GetSpellTypeMask()

uint32 ProcEventInfo::GetSpellTypeMask ( ) const
inline

Definition at line 977 of file Unit.h.

References _spellTypeMask.

Referenced by SpellMgr::CanSpellTriggerProcOnEvent().

◆ GetTypeMask()

uint32 ProcEventInfo::GetTypeMask ( ) const
inline

Definition at line 976 of file Unit.h.

References _typeMask.

Referenced by SpellMgr::CanSpellTriggerProcOnEvent().

Member Data Documentation

◆ _actionTarget

Unit* const ProcEventInfo::_actionTarget
private

Definition at line 990 of file Unit.h.

Referenced by GetActionTarget(), and ProcEventInfo().

◆ _actor

Unit* const ProcEventInfo::_actor
private

Definition at line 989 of file Unit.h.

Referenced by GetActor(), and ProcEventInfo().

◆ _damageInfo

DamageInfo* ProcEventInfo::_damageInfo
private

Definition at line 997 of file Unit.h.

Referenced by GetDamageInfo(), and ProcEventInfo().

◆ _healInfo

HealInfo* ProcEventInfo::_healInfo
private

Definition at line 998 of file Unit.h.

Referenced by GetHealInfo(), and ProcEventInfo().

◆ _hitMask

uint32 ProcEventInfo::_hitMask
private

Definition at line 995 of file Unit.h.

Referenced by GetHitMask(), and ProcEventInfo().

◆ _procTarget

Unit* const ProcEventInfo::_procTarget
private

Definition at line 991 of file Unit.h.

Referenced by GetProcTarget(), and ProcEventInfo().

◆ _spell

Spell* ProcEventInfo::_spell
private

Definition at line 996 of file Unit.h.

Referenced by ProcEventInfo().

◆ _spellPhaseMask

uint32 ProcEventInfo::_spellPhaseMask
private

Definition at line 994 of file Unit.h.

Referenced by GetSpellPhaseMask(), and ProcEventInfo().

◆ _spellTypeMask

uint32 ProcEventInfo::_spellTypeMask
private

Definition at line 993 of file Unit.h.

Referenced by GetSpellTypeMask(), and ProcEventInfo().

◆ _typeMask

uint32 ProcEventInfo::_typeMask
private

Definition at line 992 of file Unit.h.

Referenced by GetTypeMask(), and ProcEventInfo().


The documentation for this class was generated from the following files:
  • src/server/game/Entities/Unit/Unit.h
  • src/server/game/Entities/Unit/Unit.cpp