TrinityCore
Loading...
Searching...
No Matches
SpellMgr.cpp File Reference
#include "SpellMgr.h"
#include "BattlePetMgr.h"
#include "BattlefieldMgr.h"
#include "BattlegroundMgr.h"
#include "Chat.h"
#include "DB2HotfixGenerator.h"
#include "DB2Stores.h"
#include "DatabaseEnv.h"
#include "LanguageMgr.h"
#include "Log.h"
#include "MapUtils.h"
#include "MotionMaster.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "SharedDefines.h"
#include "Spell.h"
#include "SpellAuraDefines.h"
#include "SpellInfo.h"
#include "StringConvert.h"
#include <G3D/g3dmath.h>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index_container.hpp>
+ Include dependency graph for SpellMgr.cpp:

Go to the source code of this file.

Typedefs

typedef std::vector< SpellEffectEntry const * > SpellEffectVector
 

Functions

bool IsPrimaryProfessionSkill (uint32 skill)
 
bool IsWeaponSkill (uint32 skill)
 
bool IsPartOfSkillLine (uint32 skillId, uint32 spellId)
 
auto _GetSpellInfo (uint32 spellId)
 
bool LoadPetDefaultSpells_helper (CreatureTemplate const *cInfo, PetDefaultSpellsEntry &petDefSpells)
 
void ApplySpellFix (std::initializer_list< uint32 > spellIds, void(*fix)(SpellInfo *))
 
void ApplySpellEffectFix (SpellInfo *spellInfo, SpellEffIndex effectIndex, void(*fix)(SpellEffectInfo *))
 

Variables

PetFamilySpellsStore sPetFamilySpellsStore
 

Typedef Documentation

◆ SpellEffectVector

typedef std::vector<SpellEffectEntry const*> SpellEffectVector

Definition at line 2494 of file SpellMgr.cpp.

Function Documentation

◆ _GetSpellInfo()

◆ ApplySpellEffectFix()

void ApplySpellEffectFix ( SpellInfo *  spellInfo,
SpellEffIndex  effectIndex,
void(*)(SpellEffectInfo *)  fix 
)
inline

◆ ApplySpellFix()

void ApplySpellFix ( std::initializer_list< uint32 >  spellIds,
void(*)(SpellInfo *)  fix 
)
inline

◆ IsPartOfSkillLine()

bool IsPartOfSkillLine ( uint32  skillId,
uint32  spellId 
)

◆ IsPrimaryProfessionSkill()

bool IsPrimaryProfessionSkill ( uint32  skill)

◆ IsWeaponSkill()

bool IsWeaponSkill ( uint32  skill)

Definition at line 113 of file SpellMgr.cpp.

References SkillLineEntry::CategoryID, SKILL_CATEGORY_WEAPON, and sSkillLineStore.

◆ LoadPetDefaultSpells_helper()

bool LoadPetDefaultSpells_helper ( CreatureTemplate const *  cInfo,
PetDefaultSpellsEntry &  petDefSpells 
)

Variable Documentation

◆ sPetFamilySpellsStore

PetFamilySpellsStore sPetFamilySpellsStore

Definition at line 105 of file SpellMgr.cpp.

Referenced by Pet::LearnPetPassives(), and SpellMgr::LoadPetFamilySpellsStore().