aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorjoschiwald <joschiwald.trinity@gmail.com>2017-01-12 23:03:08 +0100
committerjoschiwald <joschiwald.trinity@gmail.com>2017-01-12 23:03:08 +0100
commit2b5d7eef3a091e67c27e853d43ac0bebbfa67531 (patch)
tree61e403e546fabfdda672102ee87bdfbc499245f1 /src/server/game/Spells/SpellScript.h
parentf8fe750b5ecefbf313b17013b7e5d0949cab4568 (diff)
Core/SpellScripts: Added helper method to validate spells
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r--src/server/game/Spells/SpellScript.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 5513d95b9b9..ad1556ae57c 100644
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -132,6 +132,8 @@ class TC_GAME_API _SpellScript
// Function called when script is destroyed
// use for: deallocating memory allocated by script
virtual void Unload() { }
+ // Helpers
+ static bool ValidateSpellInfo(std::vector<uint32> spellIds);
};
// SpellScript interface - enum used for runtime checks of script function calls