TrinityCore
|
#include "ObjectGuid.h"
#include "SharedDefines.h"
#include "SpellAuraDefines.h"
#include "Util.h"
#include <stack>
Go to the source code of this file.
Macros | |
#define | SPELL_EFFECT_ANY ((uint16)-1) |
#define | SPELL_AURA_ANY ((uint16)-1) |
#define | SPELL_SCRIPT_STATE_END (SPELL_SCRIPT_STATE_UNLOADING + 1) |
#define | HOOK_SPELL_HIT_START SPELL_SCRIPT_HOOK_EFFECT_HIT |
#define | HOOK_SPELL_HIT_END SPELL_SCRIPT_HOOK_AFTER_HIT + 1 |
#define | PrepareSpellScript(CLASSNAME) |
#define | SpellCastFn(F) CastHandler(&F) |
#define | SpellCheckCastFn(F) CheckCastHandler(&F) |
#define | SpellEffectFn(F, I, N) EffectHandler(&F, I, N) |
#define | BeforeSpellHitFn(F) BeforeHitHandler(&F) |
#define | SpellHitFn(F) HitHandler(&F) |
#define | SpellOnCalcCritChanceFn(F) OnCalcCritChanceHandler(&F) |
#define | SpellObjectAreaTargetSelectFn(F, I, N) ObjectAreaTargetSelectHandler(&F, I, N) |
#define | SpellObjectTargetSelectFn(F, I, N) ObjectTargetSelectHandler(&F, I, N) |
#define | SpellDestinationTargetSelectFn(F, I, N) DestinationTargetSelectHandler(&F, I, N) |
#define | SpellCalcDamageFn(F) DamageAndHealingCalcHandler(&F) |
#define | SpellCalcHealingFn(F) DamageAndHealingCalcHandler(&F) |
#define | SpellOnResistAbsorbCalculateFn(F) OnCalculateResistAbsorbHandler(&F) |
#define | SpellOnEmpowerStageCompletedFn(F) EmpowerStageCompletedHandler(&F) |
#define | SpellOnEmpowerCompletedFn(F) EmpowerStageCompletedHandler(&F) |
#define | PrepareAuraScript(CLASSNAME) |
#define | AuraCheckAreaTargetFn(F) CheckAreaTargetHandler(&F) |
#define | AuraDispelFn(F) AuraDispelHandler(&F) |
#define | AuraHeartbeatFn(F) AuraHeartbeatHandler(&F) |
#define | AuraEffectApplyFn(F, I, N, M) EffectApplyHandler(&F, I, N, M) |
#define | AuraEffectRemoveFn(F, I, N, M) EffectApplyHandler(&F, I, N, M) |
#define | AuraEffectPeriodicFn(F, I, N) EffectPeriodicHandler(&F, I, N) |
#define | AuraEffectUpdatePeriodicFn(F, I, N) EffectUpdatePeriodicHandler(&F, I, N) |
#define | AuraEffectCalcAmountFn(F, I, N) EffectCalcAmountHandler(&F, I, N) |
#define | AuraEffectCalcPeriodicFn(F, I, N) EffectCalcPeriodicHandler(&F, I, N) |
#define | AuraEffectCalcSpellModFn(F, I, N) EffectCalcSpellModHandler(&F, I, N) |
#define | AuraEffectCalcCritChanceFn(F, I, N) EffectCalcCritChanceHandler(&F, I, N) |
#define | AuraEffectCalcDamageFn(F, I, N) EffectCalcDamageAndHealingHandler(&F, I, N) |
#define | AuraEffectCalcHealingFn(F, I, N) EffectCalcDamageAndHealingHandler(&F, I, N) |
#define | AuraEffectAbsorbFn(F, I) EffectAbsorbHandler(&F, I, SPELL_AURA_SCHOOL_ABSORB) |
#define | AuraEffectAbsorbOverkillFn(F, I) EffectAbsorbHandler(&F, I, SPELL_AURA_SCHOOL_ABSORB_OVERKILL) |
#define | AuraEffectAbsorbHealFn(F, I) EffectAbsorbHealHandler(&F, I, SPELL_AURA_SCHOOL_HEAL_ABSORB) |
#define | AuraEffectManaShieldFn(F, I) EffectAbsorbHandler(&F, I, SPELL_AURA_MANA_SHIELD) |
#define | AuraEffectSplitFn(F, I) EffectAbsorbHandler(&F, I, SPELL_AURA_SPLIT_DAMAGE_PCT) |
#define | AuraCheckProcFn(F) CheckProcHandler(&F) |
#define | AuraCheckEffectProcFn(F, I, N) CheckEffectProcHandler(&F, I, N) |
#define | AuraProcFn(F) AuraProcHandler(&F) |
#define | AuraEffectProcFn(F, I, N) EffectProcHandler(&F, I, N) |
#define | AuraEnterLeaveCombatFn(F) EnterLeaveCombatHandler(&F) |
#define AuraCheckAreaTargetFn | ( | F | ) | CheckAreaTargetHandler(&F) |
Definition at line 2119 of file SpellScript.h.
#define AuraCheckEffectProcFn | ( | F, | |
I, | |||
N | |||
) | CheckEffectProcHandler(&F, I, N) |
Definition at line 2253 of file SpellScript.h.
#define AuraCheckProcFn | ( | F | ) | CheckProcHandler(&F) |
Definition at line 2247 of file SpellScript.h.
#define AuraDispelFn | ( | F | ) | AuraDispelHandler(&F) |
Definition at line 2129 of file SpellScript.h.
#define AuraEffectAbsorbFn | ( | F, | |
I | |||
) | EffectAbsorbHandler(&F, I, SPELL_AURA_SCHOOL_ABSORB) |
Definition at line 2207 of file SpellScript.h.
#define AuraEffectAbsorbHealFn | ( | F, | |
I | |||
) | EffectAbsorbHealHandler(&F, I, SPELL_AURA_SCHOOL_HEAL_ABSORB) |
Definition at line 2219 of file SpellScript.h.
#define AuraEffectAbsorbOverkillFn | ( | F, | |
I | |||
) | EffectAbsorbHandler(&F, I, SPELL_AURA_SCHOOL_ABSORB_OVERKILL) |
Definition at line 2208 of file SpellScript.h.
#define AuraEffectApplyFn | ( | F, | |
I, | |||
N, | |||
M | |||
) | EffectApplyHandler(&F, I, N, M) |
Definition at line 2146 of file SpellScript.h.
#define AuraEffectCalcAmountFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcAmountHandler(&F, I, N) |
Definition at line 2175 of file SpellScript.h.
#define AuraEffectCalcCritChanceFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcCritChanceHandler(&F, I, N) |
Definition at line 2193 of file SpellScript.h.
#define AuraEffectCalcDamageFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcDamageAndHealingHandler(&F, I, N) |
Definition at line 2200 of file SpellScript.h.
#define AuraEffectCalcHealingFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcDamageAndHealingHandler(&F, I, N) |
Definition at line 2201 of file SpellScript.h.
#define AuraEffectCalcPeriodicFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcPeriodicHandler(&F, I, N) |
Definition at line 2181 of file SpellScript.h.
#define AuraEffectCalcSpellModFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcSpellModHandler(&F, I, N) |
Definition at line 2187 of file SpellScript.h.
#define AuraEffectManaShieldFn | ( | F, | |
I | |||
) | EffectAbsorbHandler(&F, I, SPELL_AURA_MANA_SHIELD) |
Definition at line 2230 of file SpellScript.h.
#define AuraEffectPeriodicFn | ( | F, | |
I, | |||
N | |||
) | EffectPeriodicHandler(&F, I, N) |
Definition at line 2163 of file SpellScript.h.
#define AuraEffectProcFn | ( | F, | |
I, | |||
N | |||
) | EffectProcHandler(&F, I, N) |
Definition at line 2277 of file SpellScript.h.
#define AuraEffectRemoveFn | ( | F, | |
I, | |||
N, | |||
M | |||
) | EffectApplyHandler(&F, I, N, M) |
Definition at line 2157 of file SpellScript.h.
#define AuraEffectSplitFn | ( | F, | |
I | |||
) | EffectAbsorbHandler(&F, I, SPELL_AURA_SPLIT_DAMAGE_PCT) |
Definition at line 2241 of file SpellScript.h.
#define AuraEffectUpdatePeriodicFn | ( | F, | |
I, | |||
N | |||
) | EffectUpdatePeriodicHandler(&F, I, N) |
Definition at line 2169 of file SpellScript.h.
#define AuraEnterLeaveCombatFn | ( | F | ) | EnterLeaveCombatHandler(&F) |
Definition at line 2283 of file SpellScript.h.
#define AuraHeartbeatFn | ( | F | ) | AuraHeartbeatHandler(&F) |
Definition at line 2135 of file SpellScript.h.
#define AuraProcFn | ( | F | ) | AuraProcHandler(&F) |
Definition at line 2267 of file SpellScript.h.
#define BeforeSpellHitFn | ( | F | ) | BeforeHitHandler(&F) |
Definition at line 893 of file SpellScript.h.
#define HOOK_SPELL_HIT_END SPELL_SCRIPT_HOOK_AFTER_HIT + 1 |
Definition at line 246 of file SpellScript.h.
#define HOOK_SPELL_HIT_START SPELL_SCRIPT_HOOK_EFFECT_HIT |
Definition at line 245 of file SpellScript.h.
#define PrepareAuraScript | ( | CLASSNAME | ) |
Definition at line 2082 of file SpellScript.h.
#define PrepareSpellScript | ( | CLASSNAME | ) |
Definition at line 835 of file SpellScript.h.
#define SPELL_AURA_ANY ((uint16)-1) |
Definition at line 59 of file SpellScript.h.
#define SPELL_EFFECT_ANY ((uint16)-1) |
Definition at line 58 of file SpellScript.h.
#define SPELL_SCRIPT_STATE_END (SPELL_SCRIPT_STATE_UNLOADING + 1) |
Definition at line 68 of file SpellScript.h.
#define SpellCalcDamageFn | ( | F | ) | DamageAndHealingCalcHandler(&F) |
Definition at line 925 of file SpellScript.h.
#define SpellCalcHealingFn | ( | F | ) | DamageAndHealingCalcHandler(&F) |
Definition at line 930 of file SpellScript.h.
#define SpellCastFn | ( | F | ) | CastHandler(&F) |
Definition at line 871 of file SpellScript.h.
#define SpellCheckCastFn | ( | F | ) | CheckCastHandler(&F) |
Definition at line 876 of file SpellScript.h.
#define SpellDestinationTargetSelectFn | ( | F, | |
I, | |||
N | |||
) | DestinationTargetSelectHandler(&F, I, N) |
Definition at line 920 of file SpellScript.h.
#define SpellEffectFn | ( | F, | |
I, | |||
N | |||
) | EffectHandler(&F, I, N) |
Definition at line 888 of file SpellScript.h.
#define SpellHitFn | ( | F | ) | HitHandler(&F) |
Definition at line 900 of file SpellScript.h.
#define SpellObjectAreaTargetSelectFn | ( | F, | |
I, | |||
N | |||
) | ObjectAreaTargetSelectHandler(&F, I, N) |
Definition at line 910 of file SpellScript.h.
#define SpellObjectTargetSelectFn | ( | F, | |
I, | |||
N | |||
) | ObjectTargetSelectHandler(&F, I, N) |
Definition at line 915 of file SpellScript.h.
#define SpellOnCalcCritChanceFn | ( | F | ) | OnCalcCritChanceHandler(&F) |
Definition at line 905 of file SpellScript.h.
#define SpellOnEmpowerCompletedFn | ( | F | ) | EmpowerStageCompletedHandler(&F) |
Definition at line 945 of file SpellScript.h.
#define SpellOnEmpowerStageCompletedFn | ( | F | ) | EmpowerStageCompletedHandler(&F) |
Definition at line 940 of file SpellScript.h.
#define SpellOnResistAbsorbCalculateFn | ( | F | ) | OnCalculateResistAbsorbHandler(&F) |
Definition at line 935 of file SpellScript.h.
enum AuraScriptHookType |
Definition at line 1088 of file SpellScript.h.
enum SpellScriptHookType |
Definition at line 218 of file SpellScript.h.
enum SpellScriptState |
Enumerator | |
---|---|
SPELL_SCRIPT_STATE_NONE | |
SPELL_SCRIPT_STATE_REGISTRATION | |
SPELL_SCRIPT_STATE_LOADING | |
SPELL_SCRIPT_STATE_UNLOADING |
Definition at line 61 of file SpellScript.h.