![]() |
TrinityCore
|
#include "SpellMgr.h"#include "BattlefieldMgr.h"#include "BattlegroundMgr.h"#include "Chat.h"#include "Containers.h"#include "DatabaseEnv.h"#include "DBCStores.h"#include "Log.h"#include "Map.h"#include "MotionMaster.h"#include "ObjectMgr.h"#include "Player.h"#include "SharedDefines.h"#include "Spell.h"#include "SpellAuraDefines.h"#include "SpellInfo.h"
Include dependency graph for SpellMgr.cpp:Go to the source code of this file.
Functions | |
| bool | IsPrimaryProfessionSkill (uint32 skill) |
| bool | IsPartOfSkillLine (uint32 skillId, uint32 spellId) |
| bool | LoadPetDefaultSpells_helper (CreatureTemplate const *cInfo, PetDefaultSpellsEntry &petDefSpells) |
| void | ApplySpellFix (std::initializer_list< uint32 > spellIds, void(*fix)(SpellInfo *)) |
Definition at line 2914 of file SpellMgr.cpp.
References sSpellMgr, and TC_LOG_ERROR.
Referenced by SpellMgr::LoadSpellInfoCorrections().
Definition at line 47 of file SpellMgr.cpp.
References sSpellMgr.
Referenced by SpellMgr::LoadSpellInfoCustomAttributes().
| bool IsPrimaryProfessionSkill | ( | uint32 | skill | ) |
Definition at line 35 of file SpellMgr.cpp.
References SkillLineEntry::CategoryID, SKILL_CATEGORY_PROFESSION, and sSkillLineStore.
Referenced by SpellInfo::IsPrimaryProfession(), and IsProfessionSkill().
| bool LoadPetDefaultSpells_helper | ( | CreatureTemplate const * | cInfo, |
| PetDefaultSpellsEntry & | petDefSpells | ||
| ) |
Definition at line 2195 of file SpellMgr.cpp.
References CreatureTemplate::family, MAX_CREATURE_SPELL_DATA_SLOT, PetDefaultSpellsEntry::spellid, and sSpellMgr.
Referenced by SpellMgr::LoadPetDefaultSpells().