|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Unit.h>
Public Member Functions | |
| Unit * | GetActionTarget () const |
| Unit * | GetActor () const |
| DamageInfo * | GetDamageInfo () const |
| HealInfo * | GetHealInfo () const |
| uint32 | GetHitMask () const |
| Unit * | GetProcTarget () 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 |
| ProcEventInfo::ProcEventInfo | ( | Unit * | actor, |
| Unit * | actionTarget, | ||
| Unit * | procTarget, | ||
| uint32 | typeMask, | ||
| uint32 | spellTypeMask, | ||
| uint32 | spellPhaseMask, | ||
| uint32 | hitMask, | ||
| Spell * | spell, | ||
| DamageInfo * | damageInfo, | ||
| HealInfo * | healInfo ) |
Definition at line 126 of file Unit.cpp.
References _actionTarget, _actor, _damageInfo, _healInfo, _hitMask, _procTarget, _spell, _spellPhaseMask, _spellTypeMask, and _typeMask.
|
inline |
Definition at line 973 of file Unit.h.
References _actionTarget.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent(), spell_item_unsated_craving::spell_item_unsated_craving_AuraScript::CheckProc(), spell_pal_beacon_of_light::spell_pal_beacon_of_light_AuraScript::CheckProc(), Aura::IsProcTriggeredOnEvent(), and Unit::ProcDamageAndSpellFor().
|
inline |
Definition at line 972 of file Unit.h.
References _actor.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent(), spell_item_unsated_craving::spell_item_unsated_craving_AuraScript::CheckProc(), spell_warr_sweeping_strikes::spell_warr_sweeping_strikes_AuraScript::CheckProc(), spell_item_blessing_of_ancient_kings::spell_item_blessing_of_ancient_kings_AuraScript::HandleProc(), spell_item_shadows_fate::spell_item_shadows_fate_AuraScript::HandleProc(), spell_mage_ignite::spell_mage_ignite_AuraScript::HandleProc(), spell_monk_crackling_jade_lightning_aura::spell_monk_crackling_jade_lightning_aura_AuraScript::HandleProc(), Aura::IsProcTriggeredOnEvent(), spell_monk_serpents_zeal::spell_monk_serpents_zeal_AuraScript::OnProc(), and Unit::ProcDamageAndSpellFor().
|
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().
|
inline |
Definition at line 986 of file Unit.h.
References _healInfo.
Referenced by spell_sha_ancestral_awakening::spell_sha_ancestral_awakening_AuraScript::HandleEffectProc(), spell_sha_glyph_of_healing_wave::spell_sha_glyph_of_healing_wave_AuraScript::HandleEffectProc(), spell_dru_living_seed::spell_dru_living_seed_AuraScript::HandleProc(), spell_item_blessing_of_ancient_kings::spell_item_blessing_of_ancient_kings_AuraScript::HandleProc(), spell_pal_beacon_of_light::spell_pal_beacon_of_light_AuraScript::HandleProc(), and spell_pri_divine_aegis::spell_pri_divine_aegis_AuraScript::HandleProc().
|
inline |
Definition at line 979 of file Unit.h.
References _hitMask.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent().
|
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().
|
inline |
Definition at line 983 of file Unit.h.
References SPELL_SCHOOL_MASK_NONE.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent(), spell_gen_adaptive_warding::spell_gen_adaptive_warding_AuraScript::CheckProc(), spell_gen_obsidian_armor::spell_gen_obsidian_armor_AuraScript::CheckProc(), spell_gen_adaptive_warding::spell_gen_adaptive_warding_AuraScript::HandleProc(), and spell_gen_obsidian_armor::spell_gen_obsidian_armor_AuraScript::OnProc().
|
inline |
Definition at line 982 of file Unit.h.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent().
|
inline |
Definition at line 978 of file Unit.h.
References _spellPhaseMask.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent().
|
inline |
Definition at line 977 of file Unit.h.
References _spellTypeMask.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent().
|
inline |
Definition at line 976 of file Unit.h.
References _typeMask.
Referenced by SpellMgr::CanSpellTriggerProcOnEvent().
|
private |
Definition at line 990 of file Unit.h.
Referenced by GetActionTarget(), and ProcEventInfo().
|
private |
Definition at line 989 of file Unit.h.
Referenced by GetActor(), and ProcEventInfo().
|
private |
Definition at line 997 of file Unit.h.
Referenced by GetDamageInfo(), and ProcEventInfo().
|
private |
Definition at line 998 of file Unit.h.
Referenced by GetHealInfo(), and ProcEventInfo().
|
private |
Definition at line 995 of file Unit.h.
Referenced by GetHitMask(), and ProcEventInfo().
|
private |
Definition at line 991 of file Unit.h.
Referenced by GetProcTarget(), and ProcEventInfo().
|
private |
Definition at line 996 of file Unit.h.
Referenced by ProcEventInfo().
|
private |
Definition at line 994 of file Unit.h.
Referenced by GetSpellPhaseMask(), and ProcEventInfo().
|
private |
Definition at line 993 of file Unit.h.
Referenced by GetSpellTypeMask(), and ProcEventInfo().
|
private |
Definition at line 992 of file Unit.h.
Referenced by GetTypeMask(), and ProcEventInfo().