#include "AllSpellScript.h"
|
| bool | IsDatabaseBound () const override |
| |
| virtual void | OnCalcMaxDuration (Aura const *, int32 &) |
| |
| virtual void | OnSpellCheckCast (Spell *, bool, SpellCastResult &) |
| |
| virtual bool | CanPrepare (Spell *, SpellCastTargets const *, AuraEffect const *) |
| |
| virtual bool | CanScalingEverything (Spell *) |
| |
| virtual bool | CanSelectSpecTalent (Spell *) |
| |
| virtual void | OnScaleAuraUnitAdd (Spell *, Unit *, uint32, bool, bool, uint8, TargetInfo &) |
| |
| virtual void | OnRemoveAuraScaleTargets (Spell *, TargetInfo &, uint8, bool &) |
| |
| virtual void | OnBeforeAuraRankForLevel (SpellInfo const *, SpellInfo const *, uint8) |
| |
| virtual void | OnDummyEffect (WorldObject *, uint32, SpellEffIndex, GameObject *) |
| | This hook called after spell dummy effect.
|
| |
| virtual void | OnDummyEffect (WorldObject *, uint32, SpellEffIndex, Creature *) |
| | This hook called after spell dummy effect.
|
| |
| virtual void | OnDummyEffect (WorldObject *, uint32, SpellEffIndex, Item *) |
| | This hook called after spell dummy effect.
|
| |
| virtual void | OnSpellCastCancel (Spell *, Unit *, SpellInfo const *, bool) |
| |
| virtual void | OnSpellCast (Spell *, Unit *, SpellInfo const *, bool) |
| |
| virtual void | OnSpellPrepare (Spell *, Unit *, SpellInfo const *) |
| |
| virtual bool | isAfterLoadScript () const |
| |
| virtual void | checkValidity () |
| |
| const std::string & | GetName () const |
| |
| uint16 | GetTotalAvailableHooks () |
| |
◆ AllSpellScript()
| AllSpellScript::AllSpellScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
94{
95
96 if (enabledHooks.empty())
98 enabledHooks.emplace_back(i);
99
101}
@ ALLSPELLHOOK_END
Definition AllSpellScript.h:40
std::uint16_t uint16
Definition Define.h:108
Definition ScriptObject.h:43
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition ScriptMgr.h:748
References ScriptRegistry< TScript >::AddScript(), and ALLSPELLHOOK_END.
◆ CanPrepare()
◆ CanScalingEverything()
| virtual bool AllSpellScript::CanScalingEverything |
( |
Spell * |
| ) |
|
|
inlinevirtual |
◆ CanSelectSpecTalent()
| virtual bool AllSpellScript::CanSelectSpecTalent |
( |
Spell * |
| ) |
|
|
inlinevirtual |
◆ IsDatabaseBound()
| bool AllSpellScript::IsDatabaseBound |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ OnBeforeAuraRankForLevel()
◆ OnCalcMaxDuration()
| virtual void AllSpellScript::OnCalcMaxDuration |
( |
Aura const * |
, |
|
|
int32 & |
|
|
) |
| |
|
inlinevirtual |
◆ OnDummyEffect() [1/3]
This hook called after spell dummy effect.
- Parameters
-
| caster | Contains information about the WorldObject |
| spellID | Contains information about the spell id |
| effIndex | Contains information about the SpellEffIndex |
| creatureTarget | Contains information about the Creature |
◆ OnDummyEffect() [2/3]
◆ OnDummyEffect() [3/3]
This hook called after spell dummy effect.
- Parameters
-
| caster | Contains information about the WorldObject |
| spellID | Contains information about the spell id |
| effIndex | Contains information about the SpellEffIndex |
| itemTarget | Contains information about the Item |
◆ OnRemoveAuraScaleTargets()
◆ OnScaleAuraUnitAdd()
◆ OnSpellCast()
◆ OnSpellCastCancel()
| virtual void AllSpellScript::OnSpellCastCancel |
( |
Spell * |
, |
|
|
Unit * |
, |
|
|
SpellInfo const * |
, |
|
|
bool |
|
|
) |
| |
|
inlinevirtual |
◆ OnSpellCheckCast()
◆ OnSpellPrepare()
The documentation for this class was generated from the following files: