![]() |
TrinityCore
|
#include <SpellMgr.h>
Static Public Member Functions | |
| static SpellMgr * | instance () |
| static bool | IsSpellValid (SpellInfo const *spellInfo, Player *player=nullptr, bool msg=true) |
| Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book, etc. | |
| static bool | CanSpellTriggerProcOnEvent (SpellProcEntry const &procEntry, ProcEventInfo &eventInfo) |
Private Member Functions | |
| SpellMgr () | |
| ~SpellMgr () | |
| SpellInfo * | _GetSpellInfo (uint32 spellId) |
Friends | |
| class | UnitTestDataLoader |
Definition at line 572 of file SpellMgr.h.
|
private |
Definition at line 57 of file SpellMgr.cpp.
|
private |
| bool SpellMgr::AddSameEffectStackRuleSpellGroups | ( | SpellInfo const * | spellInfo, |
| uint32 | auraType, | ||
| int32 | amount, | ||
| std::map< SpellGroup, int32 > & | groups | ||
| ) | const |
|
static |
Definition at line 501 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| SpellGroupStackRule SpellMgr::CheckSpellGroupStackRules | ( | SpellInfo const * | spellInfo1, |
| SpellInfo const * | spellInfo2 | ||
| ) | const |
Definition at line 243 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 603 of file SpellMgr.cpp.
| PetDefaultSpellsEntry const * SpellMgr::GetPetDefaultSpellsEntry | ( | int32 | id | ) | const |
Definition at line 639 of file SpellMgr.cpp.
| PetLevelupSpellSet const * SpellMgr::GetPetLevelupSpellList | ( | uint32 | petFamily | ) | const |
Definition at line 630 of file SpellMgr.cpp.
| void SpellMgr::GetSetOfSpellsInSpellGroup | ( | SpellGroup | group_id, |
| std::set< uint32 > & | foundSpells | ||
| ) | const |
Definition at line 376 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void SpellMgr::GetSetOfSpellsInSpellGroup | ( | SpellGroup | group_id, |
| std::set< uint32 > & | foundSpells, | ||
| std::set< SpellGroup > & | usedGroups | ||
| ) | const |
| SkillLineAbilityMapBounds SpellMgr::GetSkillLineAbilityMapBounds | ( | uint32 | spell_id | ) | const |
Definition at line 598 of file SpellMgr.cpp.
| SpellAreaForAreaMapBounds SpellMgr::GetSpellAreaForAreaMapBounds | ( | uint32 | area_id | ) | const |
Definition at line 667 of file SpellMgr.cpp.
| SpellAreaForAuraMapBounds SpellMgr::GetSpellAreaForAuraMapBounds | ( | uint32 | spell_id | ) | const |
| SpellAreaForQuestMapBounds SpellMgr::GetSpellAreaForQuestEndMapBounds | ( | uint32 | quest_id | ) | const |
Definition at line 657 of file SpellMgr.cpp.
| SpellAreaForQuestMapBounds SpellMgr::GetSpellAreaForQuestMapBounds | ( | uint32 | quest_id | ) | const |
Definition at line 652 of file SpellMgr.cpp.
| SpellAreaMapBounds SpellMgr::GetSpellAreaMapBounds | ( | uint32 | spell_id | ) | const |
| SpellBonusEntry const * SpellMgr::GetSpellBonusData | ( | uint32 | spellId | ) | const |
| SpellChainNode const * SpellMgr::GetSpellChainNode | ( | uint32 | spell_id | ) | const |
| SpellEnchantProcEntry const * SpellMgr::GetSpellEnchantProcEvent | ( | uint32 | enchId | ) | const |
Definition at line 612 of file SpellMgr.cpp.
| SpellInfo const * SpellMgr::GetSpellForDifficultyFromSpell | ( | SpellInfo const * | spell, |
| WorldObject const * | caster | ||
| ) | const |
| SpellGroupSpellMapBounds SpellMgr::GetSpellGroupSpellMapBounds | ( | SpellGroup | group_id | ) | const |
| SpellGroupStackRule SpellMgr::GetSpellGroupStackRule | ( | SpellGroup | groupid | ) | const |
Definition at line 484 of file SpellMgr.cpp.
| uint32 SpellMgr::GetSpellIdForDifficulty | ( | uint32 | spellId, |
| WorldObject const * | caster | ||
| ) | const |
Definition at line 175 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| SpellLearnSkillNode const * SpellMgr::GetSpellLearnSkill | ( | uint32 | spell_id | ) | const |
Definition at line 318 of file SpellMgr.cpp.
| SpellLearnSpellMapBounds SpellMgr::GetSpellLearnSpellMapBounds | ( | uint32 | spell_id | ) | const |
| SpellProcEntry const * SpellMgr::GetSpellProcEntry | ( | uint32 | spellId | ) | const |
Definition at line 493 of file SpellMgr.cpp.
| SpellSpellGroupMapBounds SpellMgr::GetSpellSpellGroupMapBounds | ( | uint32 | spell_id | ) | const |
Definition at line 354 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Trinity::IteratorPair< SpellRequiredMap::const_iterator > SpellMgr::GetSpellsRequiredForSpellBounds | ( | uint32 | spell_id | ) | const |
| SpellsRequiringSpellMapBounds SpellMgr::GetSpellsRequiringSpellBounds | ( | uint32 | spell_id | ) | const |
| SpellTargetPosition const * SpellMgr::GetSpellTargetPosition | ( | uint32 | spell_id, |
| SpellEffIndex | effIndex | ||
| ) | const |
Definition at line 346 of file SpellMgr.cpp.
| SpellThreatEntry const * SpellMgr::GetSpellThreatEntry | ( | uint32 | spellID | ) | const |
Definition at line 285 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 64 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool SpellMgr::IsArenaAllowedEnchancment | ( | uint32 | ench_id | ) | const |
Definition at line 620 of file SpellMgr.cpp.
| bool SpellMgr::IsSpellLearnSpell | ( | uint32 | spell_id | ) | const |
Definition at line 332 of file SpellMgr.cpp.
| bool SpellMgr::IsSpellMemberOfSpellGroup | ( | uint32 | spellid, |
| SpellGroup | groupid | ||
| ) | const |
Definition at line 360 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 307 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book, etc.
Definition at line 71 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void SpellMgr::LoadEnchantCustomAttr | ( | ) |
Definition at line 2028 of file SpellMgr.cpp.
Here is the call graph for this function:| void SpellMgr::LoadPetDefaultSpells | ( | ) |
| void SpellMgr::LoadPetLevelupSpellMap | ( | ) |
| void SpellMgr::LoadSkillLineAbilityMap | ( | ) |
| void SpellMgr::LoadSpellAreas | ( | ) |
| void SpellMgr::LoadSpellBonuses | ( | ) |
| void SpellMgr::LoadSpellEnchantProcData | ( | ) |
| void SpellMgr::LoadSpellGroups | ( | ) |
| void SpellMgr::LoadSpellGroupStackRules | ( | ) |
| void SpellMgr::LoadSpellInfoCorrections | ( | ) |
HACK: This spell break quest complete for alliance and on retail not used
Definition at line 2945 of file SpellMgr.cpp.
Here is the call graph for this function:| void SpellMgr::LoadSpellInfoCustomAttributes | ( | ) |
| void SpellMgr::LoadSpellInfoDiminishing | ( | ) |
| void SpellMgr::LoadSpellInfoImmunities | ( | ) |
| void SpellMgr::LoadSpellInfoSpellSpecificAndAuraState | ( | ) |
| void SpellMgr::LoadSpellInfoStore | ( | ) |
| void SpellMgr::LoadSpellLearnSkills | ( | ) |
| void SpellMgr::LoadSpellLearnSpells | ( | ) |
| void SpellMgr::LoadSpellLinked | ( | ) |
| void SpellMgr::LoadSpellPetAuras | ( | ) |
| void SpellMgr::LoadSpellProcs | ( | ) |
| void SpellMgr::LoadSpellRanks | ( | ) |
| void SpellMgr::LoadSpellRequired | ( | ) |
| void SpellMgr::LoadSpellTalentRanks | ( | ) |
Definition at line 782 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void SpellMgr::LoadSpellTargetPositions | ( | ) |
| void SpellMgr::LoadSpellThreats | ( | ) |
| void SpellMgr::UnloadSpellInfoChains | ( | ) |
| void SpellMgr::UnloadSpellInfoImplicitTargetConditionLists | ( | ) |
| void SpellMgr::UnloadSpellInfoStore | ( | ) |
Definition at line 2566 of file SpellMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 735 of file SpellMgr.h.
|
private |
Definition at line 724 of file SpellMgr.h.
|
private |
Definition at line 732 of file SpellMgr.h.
|
private |
Definition at line 731 of file SpellMgr.h.
|
private |
Definition at line 730 of file SpellMgr.h.
|
private |
Definition at line 729 of file SpellMgr.h.
|
private |
Definition at line 728 of file SpellMgr.h.
|
private |
Definition at line 727 of file SpellMgr.h.
|
private |
Definition at line 726 of file SpellMgr.h.
|
private |
Definition at line 725 of file SpellMgr.h.
|
private |
Definition at line 719 of file SpellMgr.h.
|
private |
Definition at line 708 of file SpellMgr.h.
|
private |
Definition at line 707 of file SpellMgr.h.
|
private |
Definition at line 723 of file SpellMgr.h.
|
private |
Definition at line 715 of file SpellMgr.h.
|
private |
Definition at line 716 of file SpellMgr.h.
|
private |
Definition at line 733 of file SpellMgr.h.
|
private |
Definition at line 711 of file SpellMgr.h.
|
private |
Definition at line 712 of file SpellMgr.h.
|
private |
Definition at line 722 of file SpellMgr.h.
|
private |
Definition at line 721 of file SpellMgr.h.
|
private |
Definition at line 718 of file SpellMgr.h.
|
private |
Definition at line 710 of file SpellMgr.h.
|
private |
Definition at line 717 of file SpellMgr.h.
|
private |
Definition at line 714 of file SpellMgr.h.
|
private |
Definition at line 709 of file SpellMgr.h.
|
private |
Definition at line 713 of file SpellMgr.h.
|
private |
Definition at line 720 of file SpellMgr.h.