AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "SharedDefines.h"
#include "Spell.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 | HOOK_SPELL_START SPELL_SCRIPT_HOOK_EFFECT |
#define | HOOK_SPELL_END SPELL_SCRIPT_HOOK_CHECK_CAST + 1 |
#define | HOOK_SPELL_COUNT HOOK_SPELL_END - HOOK_SPELL_START |
#define | SPELLSCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) |
#define | SPELLSCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
#define | PrepareSpellScript(CLASSNAME) SPELLSCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) SPELLSCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
#define | SpellCastFn(F) CastHandlerFunction(&F) |
#define | SpellCheckCastFn(F) CheckCastHandlerFunction(&F) |
#define | SpellEffectFn(F, I, N) EffectHandlerFunction(&F, I, N) |
#define | BeforeSpellHitFn(F) BeforeHitHandlerFunction(&F) |
#define | SpellHitFn(F) HitHandlerFunction(&F) |
#define | SpellObjectAreaTargetSelectFn(F, I, N) ObjectAreaTargetSelectHandlerFunction(&F, I, N) |
#define | SpellObjectTargetSelectFn(F, I, N) ObjectTargetSelectHandlerFunction(&F, I, N) |
#define | SpellDestinationTargetSelectFn(F, I, N) DestinationTargetSelectHandlerFunction(&F, I, N) |
#define | AURASCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) |
#define | AURASCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
#define | PrepareAuraScript(CLASSNAME) AURASCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) AURASCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
#define | AuraCheckAreaTargetFn(F) CheckAreaTargetFunction(&F) |
#define | AuraDispelFn(F) AuraDispelFunction(&F) |
#define | AuraEffectApplyFn(F, I, N, M) EffectApplyHandlerFunction(&F, I, N, M) |
#define | AuraEffectRemoveFn(F, I, N, M) EffectApplyHandlerFunction(&F, I, N, M) |
#define | AuraEffectPeriodicFn(F, I, N) EffectPeriodicHandlerFunction(&F, I, N) |
#define | AuraEffectUpdatePeriodicFn(F, I, N) EffectUpdatePeriodicHandlerFunction(&F, I, N) |
#define | AuraEffectCalcAmountFn(F, I, N) EffectCalcAmountHandlerFunction(&F, I, N) |
#define | AuraEffectCalcPeriodicFn(F, I, N) EffectCalcPeriodicHandlerFunction(&F, I, N) |
#define | AuraEffectCalcSpellModFn(F, I, N) EffectCalcSpellModHandlerFunction(&F, I, N) |
#define | AuraEffectAbsorbFn(F, I) EffectAbsorbFunction(&F, I) |
#define | AuraEffectManaShieldFn(F, I) EffectManaShieldFunction(&F, I) |
#define | AuraEffectSplitFn(F, I) EffectSplitFunction(&F, I) |
#define | AuraCheckProcFn(F) CheckProcHandlerFunction(&F) |
#define | AuraAfterCheckProcFn(F) AfterCheckProcHandlerFunction(&F) |
#define | AuraProcFn(F) AuraProcHandlerFunction(&F) |
#define | AuraEffectProcFn(F, I, N) EffectProcHandlerFunction(&F, I, N) |
#define AuraAfterCheckProcFn | ( | F | ) | AfterCheckProcHandlerFunction(&F) |
#define AuraCheckAreaTargetFn | ( | F | ) | CheckAreaTargetFunction(&F) |
#define AuraCheckProcFn | ( | F | ) | CheckProcHandlerFunction(&F) |
#define AuraDispelFn | ( | F | ) | AuraDispelFunction(&F) |
#define AuraEffectAbsorbFn | ( | F, | |
I | |||
) | EffectAbsorbFunction(&F, I) |
#define AuraEffectApplyFn | ( | F, | |
I, | |||
N, | |||
M | |||
) | EffectApplyHandlerFunction(&F, I, N, M) |
#define AuraEffectCalcAmountFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcAmountHandlerFunction(&F, I, N) |
#define AuraEffectCalcPeriodicFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcPeriodicHandlerFunction(&F, I, N) |
#define AuraEffectCalcSpellModFn | ( | F, | |
I, | |||
N | |||
) | EffectCalcSpellModHandlerFunction(&F, I, N) |
#define AuraEffectManaShieldFn | ( | F, | |
I | |||
) | EffectManaShieldFunction(&F, I) |
#define AuraEffectPeriodicFn | ( | F, | |
I, | |||
N | |||
) | EffectPeriodicHandlerFunction(&F, I, N) |
#define AuraEffectProcFn | ( | F, | |
I, | |||
N | |||
) | EffectProcHandlerFunction(&F, I, N) |
#define AuraEffectRemoveFn | ( | F, | |
I, | |||
N, | |||
M | |||
) | EffectApplyHandlerFunction(&F, I, N, M) |
#define AuraEffectSplitFn | ( | F, | |
I | |||
) | EffectSplitFunction(&F, I) |
#define AuraEffectUpdatePeriodicFn | ( | F, | |
I, | |||
N | |||
) | EffectUpdatePeriodicHandlerFunction(&F, I, N) |
#define AuraProcFn | ( | F | ) | AuraProcHandlerFunction(&F) |
#define AURASCRIPT_FUNCTION_CAST_DEFINES | ( | CLASSNAME | ) |
#define AURASCRIPT_FUNCTION_TYPE_DEFINES | ( | CLASSNAME | ) |
#define BeforeSpellHitFn | ( | F | ) | BeforeHitHandlerFunction(&F) |
#define HOOK_SPELL_COUNT HOOK_SPELL_END - HOOK_SPELL_START |
#define HOOK_SPELL_END SPELL_SCRIPT_HOOK_CHECK_CAST + 1 |
#define HOOK_SPELL_HIT_END SPELL_SCRIPT_HOOK_AFTER_HIT + 1 |
#define HOOK_SPELL_HIT_START SPELL_SCRIPT_HOOK_EFFECT_HIT |
#define HOOK_SPELL_START SPELL_SCRIPT_HOOK_EFFECT |
#define PrepareAuraScript | ( | CLASSNAME | ) | AURASCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) AURASCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
#define PrepareSpellScript | ( | CLASSNAME | ) | SPELLSCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) SPELLSCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
#define SPELL_AURA_ANY (uint16)-1 |
#define SPELL_EFFECT_ANY (uint16)-1 |
#define SPELL_SCRIPT_STATE_END SPELL_SCRIPT_STATE_UNLOADING + 1 |
#define SpellCastFn | ( | F | ) | CastHandlerFunction(&F) |
#define SpellCheckCastFn | ( | F | ) | CheckCastHandlerFunction(&F) |
#define SpellDestinationTargetSelectFn | ( | F, | |
I, | |||
N | |||
) | DestinationTargetSelectHandlerFunction(&F, I, N) |
#define SpellEffectFn | ( | F, | |
I, | |||
N | |||
) | EffectHandlerFunction(&F, I, N) |
#define SpellHitFn | ( | F | ) | HitHandlerFunction(&F) |
#define SpellObjectAreaTargetSelectFn | ( | F, | |
I, | |||
N | |||
) | ObjectAreaTargetSelectHandlerFunction(&F, I, N) |
#define SpellObjectTargetSelectFn | ( | F, | |
I, | |||
N | |||
) | ObjectTargetSelectHandlerFunction(&F, I, N) |
#define SPELLSCRIPT_FUNCTION_CAST_DEFINES | ( | CLASSNAME | ) |
#define SPELLSCRIPT_FUNCTION_TYPE_DEFINES | ( | CLASSNAME | ) |
enum AuraScriptHookType |
enum SpellScriptHookType |
enum SpellScriptState |
Enumerator | |
---|---|
SPELL_SCRIPT_STATE_NONE | |
SPELL_SCRIPT_STATE_REGISTRATION | |
SPELL_SCRIPT_STATE_LOADING | |
SPELL_SCRIPT_STATE_UNLOADING |