Core/ScriptMgr: use vector instead of list to contain Spell and Aura scripts and hooks
This commit is contained in:
1 parent
e6bdc58bf0
commit
b14b00da5c
9 files changed
+154
-168
No files matched your search
@@ -29,6 +29,7 @@
|
||||
|
||||
class AccountMgr;
|
||||
class AuctionHouseObject;
|
||||
class Aura;
|
||||
class AuraScript;
|
||||
class Battleground;
|
||||
class BattlegroundMap;
|
||||
@@ -894,8 +895,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 */
|
||||
|
||||
Reference in new issue
Block a user