![]() |
TrinityCore
|
#include "ObjectGuid.h"#include "SharedDefines.h"#include "SpellAuraDefines.h"#include "Util.h"#include <memory>#include <stack>
Include dependency graph for SpellScript.h: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 | 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 | SpellOnResistAbsorbCalculateFn(F) OnCalculateResistAbsorbHandlerFunction(&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 | AuraCheckEffectProcFn(F, I, N) CheckEffectProcHandlerFunction(&F, I, N) |
| #define | AuraProcFn(F) AuraProcHandlerFunction(&F) |
| #define | AuraEffectProcFn(F, I, N) EffectProcHandlerFunction(&F, I, N) |
| #define AuraCheckAreaTargetFn | ( | F | ) | CheckAreaTargetFunction(&F) |
Definition at line 780 of file SpellScript.h.
| #define AuraCheckEffectProcFn | ( | F, | |
| I, | |||
| N | |||
| ) | CheckEffectProcHandlerFunction(&F, I, N) |
Definition at line 882 of file SpellScript.h.
| #define AuraCheckProcFn | ( | F | ) | CheckProcHandlerFunction(&F) |
Definition at line 876 of file SpellScript.h.
| #define AuraDispelFn | ( | F | ) | AuraDispelFunction(&F) |
Definition at line 790 of file SpellScript.h.
| #define AuraEffectAbsorbFn | ( | F, | |
| I | |||
| ) | EffectAbsorbFunction(&F, I) |
Definition at line 848 of file SpellScript.h.
| #define AuraEffectApplyFn | ( | F, | |
| I, | |||
| N, | |||
| M | |||
| ) | EffectApplyHandlerFunction(&F, I, N, M) |
Definition at line 801 of file SpellScript.h.
| #define AuraEffectCalcAmountFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectCalcAmountHandlerFunction(&F, I, N) |
Definition at line 830 of file SpellScript.h.
| #define AuraEffectCalcPeriodicFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectCalcPeriodicHandlerFunction(&F, I, N) |
Definition at line 836 of file SpellScript.h.
| #define AuraEffectCalcSpellModFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectCalcSpellModHandlerFunction(&F, I, N) |
Definition at line 842 of file SpellScript.h.
| #define AuraEffectManaShieldFn | ( | F, | |
| I | |||
| ) | EffectManaShieldFunction(&F, I) |
Definition at line 859 of file SpellScript.h.
| #define AuraEffectPeriodicFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectPeriodicHandlerFunction(&F, I, N) |
Definition at line 818 of file SpellScript.h.
| #define AuraEffectProcFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectProcHandlerFunction(&F, I, N) |
Definition at line 906 of file SpellScript.h.
| #define AuraEffectRemoveFn | ( | F, | |
| I, | |||
| N, | |||
| M | |||
| ) | EffectApplyHandlerFunction(&F, I, N, M) |
Definition at line 812 of file SpellScript.h.
| #define AuraEffectSplitFn | ( | F, | |
| I | |||
| ) | EffectSplitFunction(&F, I) |
Definition at line 870 of file SpellScript.h.
| #define AuraEffectUpdatePeriodicFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectUpdatePeriodicHandlerFunction(&F, I, N) |
Definition at line 824 of file SpellScript.h.
| #define AuraProcFn | ( | F | ) | AuraProcHandlerFunction(&F) |
Definition at line 896 of file SpellScript.h.
| #define AURASCRIPT_FUNCTION_CAST_DEFINES | ( | CLASSNAME | ) |
Definition at line 726 of file SpellScript.h.
| #define AURASCRIPT_FUNCTION_TYPE_DEFINES | ( | CLASSNAME | ) |
Definition at line 579 of file SpellScript.h.
| #define BeforeSpellHitFn | ( | F | ) | BeforeHitHandlerFunction(&F) |
Definition at line 387 of file SpellScript.h.
| #define HOOK_SPELL_HIT_END SPELL_SCRIPT_HOOK_AFTER_HIT + 1 |
Definition at line 196 of file SpellScript.h.
| #define HOOK_SPELL_HIT_START SPELL_SCRIPT_HOOK_EFFECT_HIT |
Definition at line 195 of file SpellScript.h.
| #define PrepareAuraScript | ( | CLASSNAME | ) | AURASCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) AURASCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
Definition at line 743 of file SpellScript.h.
| #define PrepareSpellScript | ( | CLASSNAME | ) | SPELLSCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) SPELLSCRIPT_FUNCTION_CAST_DEFINES(CLASSNAME) |
Definition at line 331 of file SpellScript.h.
| #define SPELL_AURA_ANY (uint16)-1 |
Definition at line 53 of file SpellScript.h.
| #define SPELL_EFFECT_ANY (uint16)-1 |
Definition at line 52 of file SpellScript.h.
| #define SPELL_SCRIPT_STATE_END SPELL_SCRIPT_STATE_UNLOADING + 1 |
Definition at line 62 of file SpellScript.h.
| #define SpellCastFn | ( | F | ) | CastHandlerFunction(&F) |
Definition at line 363 of file SpellScript.h.
| #define SpellCheckCastFn | ( | F | ) | CheckCastHandlerFunction(&F) |
Definition at line 368 of file SpellScript.h.
| #define SpellDestinationTargetSelectFn | ( | F, | |
| I, | |||
| N | |||
| ) | DestinationTargetSelectHandlerFunction(&F, I, N) |
Definition at line 409 of file SpellScript.h.
| #define SpellEffectFn | ( | F, | |
| I, | |||
| N | |||
| ) | EffectHandlerFunction(&F, I, N) |
Definition at line 382 of file SpellScript.h.
| #define SpellHitFn | ( | F | ) | HitHandlerFunction(&F) |
Definition at line 394 of file SpellScript.h.
| #define SpellObjectAreaTargetSelectFn | ( | F, | |
| I, | |||
| N | |||
| ) | ObjectAreaTargetSelectHandlerFunction(&F, I, N) |
Definition at line 399 of file SpellScript.h.
| #define SpellObjectTargetSelectFn | ( | F, | |
| I, | |||
| N | |||
| ) | ObjectTargetSelectHandlerFunction(&F, I, N) |
Definition at line 404 of file SpellScript.h.
| #define SpellOnResistAbsorbCalculateFn | ( | F | ) | OnCalculateResistAbsorbHandlerFunction(&F) |
Definition at line 373 of file SpellScript.h.
| #define SPELLSCRIPT_FUNCTION_CAST_DEFINES | ( | CLASSNAME | ) |
Definition at line 320 of file SpellScript.h.
| #define SPELLSCRIPT_FUNCTION_TYPE_DEFINES | ( | CLASSNAME | ) |
Definition at line 203 of file SpellScript.h.
| enum AuraScriptHookType |
Definition at line 538 of file SpellScript.h.
| enum SpellScriptHookType |
Definition at line 175 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 55 of file SpellScript.h.