TrinityCore
SpellMgr.cpp File Reference
#include "SpellMgr.h"
#include "BattlefieldMgr.h"
#include "BattlegroundMgr.h"
#include "BattlePetMgr.h"
#include "Chat.h"
#include "Containers.h"
#include "DB2Stores.h"
#include "DatabaseEnv.h"
#include "LanguageMgr.h"
#include "Log.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_container.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.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 2492 of file SpellMgr.cpp.

Function Documentation

◆ _GetSpellInfo()

auto _GetSpellInfo ( uint32  spellId)

Definition at line 703 of file SpellMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplySpellEffectFix()

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

Definition at line 3358 of file SpellMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplySpellFix()

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

Definition at line 3342 of file SpellMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPartOfSkillLine()

bool IsPartOfSkillLine ( uint32  skillId,
uint32  spellId 
)

Definition at line 118 of file SpellMgr.cpp.

+ Here is the caller graph for this function:

◆ IsPrimaryProfessionSkill()

bool IsPrimaryProfessionSkill ( uint32  skill)

Definition at line 106 of file SpellMgr.cpp.

+ Here is the caller graph for this function:

◆ IsWeaponSkill()

bool IsWeaponSkill ( uint32  skill)

Definition at line 112 of file SpellMgr.cpp.

◆ LoadPetDefaultSpells_helper()

bool LoadPetDefaultSpells_helper ( CreatureTemplate const *  cInfo,
PetDefaultSpellsEntry petDefSpells 
)

Definition at line 2199 of file SpellMgr.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ sPetFamilySpellsStore

PetFamilySpellsStore sPetFamilySpellsStore

Definition at line 104 of file SpellMgr.cpp.