diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-11-13 21:44:04 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2016-11-14 02:05:51 -0300 |
commit | cbb5c073ceb951fa138bb05b55de8b21ffd83063 (patch) | |
tree | 3b229037242f79eeff6f0263573512aaa6cb17b6 /src/server/game/Scripting/ScriptMgr.h | |
parent | 58c5011499056cf2c415e24e854a3de93a870f9e (diff) |
Core/ScriptMgr: use vector instead of list to contain Spell and Aura scripts and hooks
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.h')
-rw-r--r-- | src/server/game/Scripting/ScriptMgr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.h b/src/server/game/Scripting/ScriptMgr.h index a6cce299645..22a84804089 100644 --- a/src/server/game/Scripting/ScriptMgr.h +++ b/src/server/game/Scripting/ScriptMgr.h @@ -29,6 +29,7 @@ class AccountMgr; class AuctionHouseObject; +class Aura; class AuraScript; class Battleground; class BattlegroundMap; @@ -896,8 +897,8 @@ class TC_GAME_API ScriptMgr public: /* SpellScriptLoader */ - void CreateSpellScripts(uint32 spellId, std::list<SpellScript*>& scriptVector); - void CreateAuraScripts(uint32 spellId, std::list<AuraScript*>& scriptVector); + void CreateSpellScripts(uint32 spellId, std::vector<SpellScript*>& scriptVector, Spell* invoker) const; + void CreateAuraScripts(uint32 spellId, std::vector<AuraScript*>& scriptVector, Aura* invoker) const; SpellScriptLoader* GetSpellScriptLoader(uint32 scriptId); public: /* ServerScript */ |