Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellMgr Class Reference

#include <SpellMgr.h>

Public Member Functions

bool AddSameEffectStackRuleSpellGroups (SpellInfo const *spellInfo, int32 amount, std::map< SpellGroup, int32 > &groups) const
bool CanSpellTriggerProcOnEvent (SpellProcEntry const &procEntry, ProcEventInfo &eventInfo) const
SpellGroupStackRule CheckSpellGroupStackRules (SpellInfo const *spellInfo1, SpellInfo const *spellInfo2) const
uint32 GetFirstSpellInChain (uint32 spell_id) const
uint32 GetLastSpellInChain (uint32 spell_id) const
uint32 GetNextSpellInChain (uint32 spell_id) const
PetAura const * GetPetAura (uint32 spell_id, uint8 eff) const
PetDefaultSpellsEntry const * GetPetDefaultSpellsEntry (int32 id) const
PetLevelupSpellSet const * GetPetLevelupSpellList (uint32 petFamily) const
uint32 GetPrevSpellInChain (uint32 spell_id) const
void GetSetOfSpellsInSpellGroup (SpellGroup group_id, std::set< uint32 > &foundSpells) const
void GetSetOfSpellsInSpellGroup (SpellGroup group_id, std::set< uint32 > &foundSpells, std::set< SpellGroup > &usedGroups) const
SkillLineAbilityMapBounds GetSkillLineAbilityMapBounds (uint32 spell_id) const
SpellAreaForAreaMapBounds GetSpellAreaForAreaMapBounds (uint32 area_id) const
SpellAreaForAuraMapBounds GetSpellAreaForAuraMapBounds (uint32 spell_id) const
SpellAreaForQuestMapBounds GetSpellAreaForQuestEndMapBounds (uint32 quest_id) const
SpellAreaForQuestMapBounds GetSpellAreaForQuestMapBounds (uint32 quest_id) const
SpellAreaMapBounds GetSpellAreaMapBounds (uint32 spell_id) const
SpellBonusEntry const * GetSpellBonusData (uint32 spellId) const
SpellChainNode const * GetSpellChainNode (uint32 spell_id) const
uint32 GetSpellDifficultyId (uint32 spellId) const
SpellEnchantProcEntry const * GetSpellEnchantProcEvent (uint32 enchId) const
SpellInfo const * GetSpellForDifficultyFromSpell (SpellInfo const *spell, Unit const *caster) const
SpellGroupSpellMapBounds GetSpellGroupSpellMapBounds (SpellGroup group_id) const
uint32 GetSpellIdForDifficulty (uint32 spellId, Unit const *caster) const
SpellInfo const * GetSpellInfo (uint32 spellId) const
uint32 GetSpellInfoStoreSize () const
SpellLearnSkillNode const * GetSpellLearnSkill (uint32 spell_id) const
SpellLearnSpellMapBounds GetSpellLearnSpellMapBounds (uint32 spell_id) const
const std::vector< int32 > * GetSpellLinked (int32 spell_id) const
SpellProcEntry const * GetSpellProcEntry (uint32 spellId) const
SpellProcEventEntry const * GetSpellProcEvent (uint32 spellId) const
uint8 GetSpellRank (uint32 spell_id) const
SpellSpellGroupMapBounds GetSpellSpellGroupMapBounds (uint32 spell_id) const
SpellRequiredMapBounds GetSpellsRequiredForSpellBounds (uint32 spell_id) const
SpellsRequiringSpellMapBounds GetSpellsRequiringSpellBounds (uint32 spell_id) const
SpellTargetPosition const * GetSpellTargetPosition (uint32 spell_id, SpellEffIndex effIndex) const
SpellThreatEntry const * GetSpellThreatEntry (uint32 spellID) const
uint32 GetSpellWithRank (uint32 spell_id, uint32 rank, bool strict=false) const
bool IsArenaAllowedEnchancment (uint32 ench_id) const
bool IsSpellLearnSpell (uint32 spell_id) const
bool IsSpellLearnToSpell (uint32 spell_id1, uint32 spell_id2) const
bool IsSpellMemberOfSpellGroup (uint32 spellid, SpellGroup groupid) const
bool IsSpellProcEventCanTriggeredBy (SpellProcEventEntry const *spellProcEvent, uint32 EventProcFlag, SpellInfo const *procSpell, uint32 procFlags, uint32 procExtra, bool active) const
bool IsSpellRequiringSpell (uint32 spellid, uint32 req_spellid) const
void LoadEnchantCustomAttr ()
void LoadPetDefaultSpells ()
void LoadPetLevelupSpellMap ()
void LoadSkillLineAbilityMap ()
void LoadSpellAreas ()
void LoadSpellBonusess ()
void LoadSpellEnchantProcData ()
void LoadSpellGroups ()
void LoadSpellGroupStackRules ()
void LoadSpellInfoCorrections ()
void LoadSpellInfoCustomAttributes ()
void LoadSpellInfoStore ()
void LoadSpellLearnSkills ()
void LoadSpellLearnSpells ()
void LoadSpellLinked ()
void LoadSpellPetAuras ()
void LoadSpellProcEvents ()
void LoadSpellProcs ()
void LoadSpellRanks ()
void LoadSpellRequired ()
void LoadSpellTalentRanks ()
void LoadSpellTargetPositions ()
void LoadSpellThreats ()
void SetSpellDifficultyId (uint32 spellId, uint32 id)
void UnloadSpellInfoChains ()
void UnloadSpellInfoImplicitTargetConditionLists ()
void UnloadSpellInfoStore ()

Static Public Member Functions

static bool IsSpellValid (SpellInfo const *spellInfo, Player *player=NULL, bool msg=true)
 Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book, etc.

Private Member Functions

SpellInfo_GetSpellInfo (uint32 spellId)
 SpellMgr ()
 ~SpellMgr ()

Private Attributes

EnchantCustomAttribute mEnchantCustomAttr
PetDefaultSpellsMap mPetDefaultSpellsMap
PetLevelupSpellMap mPetLevelupSpellMap
SkillLineAbilityMap mSkillLineAbilityMap
SpellAreaForAreaMap mSpellAreaForAreaMap
SpellAreaForAuraMap mSpellAreaForAuraMap
SpellAreaForQuestMap mSpellAreaForQuestEndMap
SpellAreaForQuestMap mSpellAreaForQuestMap
SpellAreaMap mSpellAreaMap
SpellBonusMap mSpellBonusMap
SpellChainMap mSpellChains
SpellDifficultySearcherMap mSpellDifficultySearcherMap
SpellEnchantProcEventMap mSpellEnchantProcEventMap
SpellGroupSpellMap mSpellGroupSpell
SpellGroupStackMap mSpellGroupStack
SpellInfoMap mSpellInfoMap
SpellLearnSkillMap mSpellLearnSkills
SpellLearnSpellMap mSpellLearnSpells
SpellLinkedMap mSpellLinkedMap
SpellPetAuraMap mSpellPetAuraMap
SpellProcEventMap mSpellProcEventMap
SpellProcMap mSpellProcMap
SpellRequiredMap mSpellReq
SpellSpellGroupMap mSpellSpellGroup
SpellsRequiringSpellMap mSpellsReqSpell
SpellTargetPositionMap mSpellTargetPositions
SpellThreatMap mSpellThreatMap

Friends

class Skyfire::Singleton< SpellMgr, Skyfire::NullMutex >

Detailed Description

Definition at line 589 of file SpellMgr.h.

Constructor & Destructor Documentation

◆ SpellMgr()

SpellMgr::SpellMgr ( )
private

Definition at line 311 of file SpellMgr.cpp.

◆ ~SpellMgr()

SpellMgr::~SpellMgr ( )
private

Definition at line 313 of file SpellMgr.cpp.

References UnloadSpellInfoStore().

Member Function Documentation

◆ _GetSpellInfo()

SpellInfo * SpellMgr::_GetSpellInfo ( uint32 spellId)
inlineprivate

Definition at line 682 of file SpellMgr.h.

References GetSpellInfoStoreSize(), and mSpellInfoMap.

Referenced by LoadSpellInfoCustomAttributes().

◆ AddSameEffectStackRuleSpellGroups()

bool SpellMgr::AddSameEffectStackRuleSpellGroups ( SpellInfo const * spellInfo,
int32 amount,
std::map< SpellGroup, int32 > & groups ) const

◆ CanSpellTriggerProcOnEvent()

◆ CheckSpellGroupStackRules()

◆ GetFirstSpellInChain()

uint32 SpellMgr::GetFirstSpellInChain ( uint32 spell_id) const

◆ GetLastSpellInChain()

uint32 SpellMgr::GetLastSpellInChain ( uint32 spell_id) const

Definition at line 497 of file SpellMgr.cpp.

References GetSpellChainNode().

◆ GetNextSpellInChain()

uint32 SpellMgr::GetNextSpellInChain ( uint32 spell_id) const

Definition at line 505 of file SpellMgr.cpp.

References GetSpellChainNode().

◆ GetPetAura()

PetAura const * SpellMgr::GetPetAura ( uint32 spell_id,
uint8 eff ) const

Definition at line 972 of file SpellMgr.cpp.

References mSpellPetAuraMap.

◆ GetPetDefaultSpellsEntry()

PetDefaultSpellsEntry const * SpellMgr::GetPetDefaultSpellsEntry ( int32 id) const

Definition at line 1009 of file SpellMgr.cpp.

References mPetDefaultSpellsMap.

◆ GetPetLevelupSpellList()

PetLevelupSpellSet const * SpellMgr::GetPetLevelupSpellList ( uint32 petFamily) const

Definition at line 1000 of file SpellMgr.cpp.

References mPetLevelupSpellMap.

◆ GetPrevSpellInChain()

uint32 SpellMgr::GetPrevSpellInChain ( uint32 spell_id) const

Definition at line 514 of file SpellMgr.cpp.

References GetSpellChainNode().

◆ GetSetOfSpellsInSpellGroup() [1/2]

void SpellMgr::GetSetOfSpellsInSpellGroup ( SpellGroup group_id,
std::set< uint32 > & foundSpells ) const

◆ GetSetOfSpellsInSpellGroup() [2/2]

void SpellMgr::GetSetOfSpellsInSpellGroup ( SpellGroup group_id,
std::set< uint32 > & foundSpells,
std::set< SpellGroup > & usedGroups ) const

Definition at line 628 of file SpellMgr.cpp.

References GetSetOfSpellsInSpellGroup(), and GetSpellGroupSpellMapBounds().

◆ GetSkillLineAbilityMapBounds()

SkillLineAbilityMapBounds SpellMgr::GetSkillLineAbilityMapBounds ( uint32 spell_id) const

Definition at line 967 of file SpellMgr.cpp.

References mSkillLineAbilityMap.

◆ GetSpellAreaForAreaMapBounds()

SpellAreaForAreaMapBounds SpellMgr::GetSpellAreaForAreaMapBounds ( uint32 area_id) const

Definition at line 1037 of file SpellMgr.cpp.

References mSpellAreaForAreaMap.

◆ GetSpellAreaForAuraMapBounds()

SpellAreaForAuraMapBounds SpellMgr::GetSpellAreaForAuraMapBounds ( uint32 spell_id) const

Definition at line 1032 of file SpellMgr.cpp.

References mSpellAreaForAuraMap.

Referenced by LoadSpellAreas().

◆ GetSpellAreaForQuestEndMapBounds()

SpellAreaForQuestMapBounds SpellMgr::GetSpellAreaForQuestEndMapBounds ( uint32 quest_id) const

Definition at line 1027 of file SpellMgr.cpp.

References mSpellAreaForQuestEndMap.

◆ GetSpellAreaForQuestMapBounds()

SpellAreaForQuestMapBounds SpellMgr::GetSpellAreaForQuestMapBounds ( uint32 quest_id) const

Definition at line 1022 of file SpellMgr.cpp.

References mSpellAreaForQuestMap.

◆ GetSpellAreaMapBounds()

SpellAreaMapBounds SpellMgr::GetSpellAreaMapBounds ( uint32 spell_id) const

Definition at line 1017 of file SpellMgr.cpp.

References mSpellAreaMap.

Referenced by LoadSpellAreas().

◆ GetSpellBonusData()

SpellBonusEntry const * SpellMgr::GetSpellBonusData ( uint32 spellId) const

Definition at line 936 of file SpellMgr.cpp.

References GetFirstSpellInChain(), and mSpellBonusMap.

◆ GetSpellChainNode()

SpellChainNode const * SpellMgr::GetSpellChainNode ( uint32 spell_id) const

◆ GetSpellDifficultyId()

uint32 SpellMgr::GetSpellDifficultyId ( uint32 spellId) const

Definition at line 410 of file SpellMgr.cpp.

References mSpellDifficultySearcherMap.

Referenced by GetSpellIdForDifficulty().

◆ GetSpellEnchantProcEvent()

SpellEnchantProcEntry const * SpellMgr::GetSpellEnchantProcEvent ( uint32 enchId) const

Definition at line 981 of file SpellMgr.cpp.

References mSpellEnchantProcEventMap.

◆ GetSpellForDifficultyFromSpell()

SpellInfo const * SpellMgr::GetSpellForDifficultyFromSpell ( SpellInfo const * spell,
Unit const * caster ) const

Definition at line 463 of file SpellMgr.cpp.

References GetSpellIdForDifficulty(), GetSpellInfo(), SpellInfo::Id, and SF_LOG_DEBUG.

◆ GetSpellGroupSpellMapBounds()

SpellGroupSpellMapBounds SpellMgr::GetSpellGroupSpellMapBounds ( SpellGroup group_id) const

◆ GetSpellIdForDifficulty()

◆ GetSpellInfo()

◆ GetSpellInfoStoreSize()

◆ GetSpellLearnSkill()

SpellLearnSkillNode const * SpellMgr::GetSpellLearnSkill ( uint32 spell_id) const

Definition at line 564 of file SpellMgr.cpp.

References mSpellLearnSkills.

◆ GetSpellLearnSpellMapBounds()

SpellLearnSpellMapBounds SpellMgr::GetSpellLearnSpellMapBounds ( uint32 spell_id) const

Definition at line 573 of file SpellMgr.cpp.

References mSpellLearnSpells.

Referenced by IsSpellLearnToSpell().

◆ GetSpellLinked()

const std::vector< int32 > * SpellMgr::GetSpellLinked ( int32 spell_id) const

Definition at line 994 of file SpellMgr.cpp.

References mSpellLinkedMap.

◆ GetSpellProcEntry()

SpellProcEntry const * SpellMgr::GetSpellProcEntry ( uint32 spellId) const

Definition at line 863 of file SpellMgr.cpp.

References mSpellProcMap.

◆ GetSpellProcEvent()

SpellProcEventEntry const * SpellMgr::GetSpellProcEvent ( uint32 spellId) const

Definition at line 726 of file SpellMgr.cpp.

References mSpellProcEventMap.

◆ GetSpellRank()

uint8 SpellMgr::GetSpellRank ( uint32 spell_id) const

Definition at line 523 of file SpellMgr.cpp.

References GetSpellChainNode().

◆ GetSpellSpellGroupMapBounds()

SpellSpellGroupMapBounds SpellMgr::GetSpellSpellGroupMapBounds ( uint32 spell_id) const

◆ GetSpellsRequiredForSpellBounds()

SpellRequiredMapBounds SpellMgr::GetSpellsRequiredForSpellBounds ( uint32 spell_id) const

Definition at line 543 of file SpellMgr.cpp.

References mSpellReq.

◆ GetSpellsRequiringSpellBounds()

SpellsRequiringSpellMapBounds SpellMgr::GetSpellsRequiringSpellBounds ( uint32 spell_id) const

Definition at line 548 of file SpellMgr.cpp.

References mSpellsReqSpell.

Referenced by IsSpellRequiringSpell().

◆ GetSpellTargetPosition()

SpellTargetPosition const * SpellMgr::GetSpellTargetPosition ( uint32 spell_id,
SpellEffIndex effIndex ) const

Definition at line 592 of file SpellMgr.cpp.

References mSpellTargetPositions.

◆ GetSpellThreatEntry()

SpellThreatEntry const * SpellMgr::GetSpellThreatEntry ( uint32 spellID) const

Definition at line 952 of file SpellMgr.cpp.

References GetFirstSpellInChain(), and mSpellThreatMap.

◆ GetSpellWithRank()

uint32 SpellMgr::GetSpellWithRank ( uint32 spell_id,
uint32 rank,
bool strict = false ) const

Definition at line 531 of file SpellMgr.cpp.

References GetSpellChainNode(), and GetSpellWithRank().

Referenced by GetSpellWithRank().

◆ IsArenaAllowedEnchancment()

bool SpellMgr::IsArenaAllowedEnchancment ( uint32 ench_id) const

Definition at line 989 of file SpellMgr.cpp.

References mEnchantCustomAttr.

◆ IsSpellLearnSpell()

bool SpellMgr::IsSpellLearnSpell ( uint32 spell_id) const

Definition at line 578 of file SpellMgr.cpp.

References mSpellLearnSpells.

◆ IsSpellLearnToSpell()

bool SpellMgr::IsSpellLearnToSpell ( uint32 spell_id1,
uint32 spell_id2 ) const

Definition at line 583 of file SpellMgr.cpp.

References GetSpellLearnSpellMapBounds().

◆ IsSpellMemberOfSpellGroup()

bool SpellMgr::IsSpellMemberOfSpellGroup ( uint32 spellid,
SpellGroup groupid ) const

Definition at line 606 of file SpellMgr.cpp.

References GetSpellSpellGroupMapBounds().

Referenced by CheckSpellGroupStackRules().

◆ IsSpellProcEventCanTriggeredBy()

◆ IsSpellRequiringSpell()

bool SpellMgr::IsSpellRequiringSpell ( uint32 spellid,
uint32 req_spellid ) const

Definition at line 553 of file SpellMgr.cpp.

References GetSpellsRequiringSpellBounds().

Referenced by LoadSpellRequired().

◆ IsSpellValid()

◆ LoadEnchantCustomAttr()

◆ LoadPetDefaultSpells()

◆ LoadPetLevelupSpellMap()

◆ LoadSkillLineAbilityMap()

void SpellMgr::LoadSkillLineAbilityMap ( )

◆ LoadSpellAreas()

◆ LoadSpellBonusess()

◆ LoadSpellEnchantProcData()

◆ LoadSpellGroups()

◆ LoadSpellGroupStackRules()

◆ LoadSpellInfoCorrections()

void SpellMgr::LoadSpellInfoCorrections ( )

Definition at line 2915 of file SpellMgr.cpp.

References SpellInfo::ActiveIconID, SpellEffectInfo::ApplyAuraName, SpellEffectInfo::ApplyAuraTickCount, SpellInfo::AreaGroupId, SpellInfo::Attributes, SpellInfo::AttributesEx, SpellInfo::AttributesEx2, SpellInfo::AttributesEx3, SpellInfo::AttributesEx4, SpellInfo::AttributesEx5, SpellInfo::AttributesEx6, SpellInfo::AttributesEx8, AURA_INTERRUPT_FLAG_CAST, AURA_INTERRUPT_FLAG_HITBYSPELL, AURA_INTERRUPT_FLAG_JUMP, AURA_INTERRUPT_FLAG_MOVE, AURA_INTERRUPT_FLAG_TAKE_DAMAGE, SpellInfo::AuraInterruptFlags, SpellEffectInfo::BasePoints, SpellInfo::DurationEntry, SpellEffectInfo::Effect, EFFECT_0, EFFECT_1, EFFECT_2, EFFECT_RADIUS_100_YARDS, EFFECT_RADIUS_10_YARDS, EFFECT_RADIUS_200_YARDS, EFFECT_RADIUS_25_YARDS, EFFECT_RADIUS_3_YARDS, EFFECT_RADIUS_40_YARDS, EFFECT_RADIUS_45_YARDS, EFFECT_RADIUS_50000_YARDS, SpellInfo::Effects, FORM_TREE, getMSTime(), GetMSTimeDiffToNow(), GetSpellInfoStoreSize(), SpellInfo::Id, MAX_SPELL_EFFECTS, SpellInfo::MaxAffectedTargets, SpellEffectInfo::MaxRadiusEntry, SpellInfo::Mechanic, MECHANIC_STUN, SpellEffectInfo::MiscValue, SpellEffectInfo::MiscValueB, mSpellInfoMap, SpellInfo::ProcCharges, SpellEffectInfo::RadiusEntry, SpellInfo::RangeEntry, SF_LOG_INFO, SpellInfo::Speed, SPEED_CHARGE, SPELL_ATTR0_NEGATIVE_1, SPELL_ATTR0_PASSIVE, SPELL_ATTR1_CANT_TARGET_SELF, SPELL_ATTR1_CHANNELED_1, SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY, SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS, SPELL_ATTR2_CANT_CRIT, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED, SPELL_ATTR3_CANT_TRIGGER_PROC, SPELL_ATTR3_NO_DONE_BONUS, SPELL_ATTR3_NO_INITIAL_AGGRO, SPELL_ATTR3_STACK_FOR_DIFF_CASTERS, SPELL_ATTR4_TRIGGERED, SPELL_ATTR5_START_PERIODIC_AT_APPLY, SPELL_ATTR5_USABLE_WHILE_CONFUSED, SPELL_ATTR5_USABLE_WHILE_FEARED, SPELL_ATTR5_USABLE_WHILE_STUNNED, SPELL_ATTR6_CAN_TARGET_INVISIBLE, SPELL_ATTR8_DONT_RESET_PERIODIC_TIMER, SPELL_AURA_ADD_FLAT_MODIFIER, SPELL_AURA_DUMMY, SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT, SPELL_EFFECT_APPLY_AURA, SPELL_EFFECT_CHARGE, SPELL_EFFECT_CHARGE_DEST, SPELL_EFFECT_DUMMY, SPELL_EFFECT_JUMP, SPELL_EFFECT_JUMP_DEST, SPELL_EFFECT_LEAP_BACK, SpellEffectInfo::SpellClassMask, SpellInfo::SpellFamilyName, SPELLMOD_EFFECT2, sSpellDurationStore, sSpellRadiusStore, sSpellRangeStore, sSummonPropertiesStore, SpellInfo::Stances, SUMMON_TYPE_TOTEM, TARGET_DEST_CASTER, TARGET_DEST_DB, TARGET_DEST_DEST, TARGET_UNIT_CASTER, TARGET_UNIT_MASTER, TARGET_UNIT_PET, TARGET_UNIT_SRC_AREA_ALLY, TARGET_UNIT_SRC_AREA_ENEMY, TARGET_UNIT_SRC_AREA_ENTRY, TARGET_UNIT_TARGET_ANY, TARGET_UNIT_TARGET_ENEMY, SpellEffectInfo::TargetA, SpellEffectInfo::TargetB, and SpellEffectInfo::TriggerSpell.

◆ LoadSpellInfoCustomAttributes()

void SpellMgr::LoadSpellInfoCustomAttributes ( )

Definition at line 2684 of file SpellMgr.cpp.

References _GetSpellInfo(), SpellInfo::_InitializeExplicitTargetMask(), SpellInfo::_IsPositiveEffect(), SpellEffectInfo::ApplyAuraName, SpellInfo::AttributesCu, SpellEffectInfo::Effect, EFFECT_0, EFFECT_1, EFFECT_2, SpellInfo::Effects, getMSTime(), GetMSTimeDiffToNow(), GetSpellInfoStoreSize(), SpellInfo::HasAura(), SpellInfo::Id, IsPartOfSkillLine(), ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL, MAX_ITEM_ENCHANTMENT_EFFECTS, MAX_SPELL_EFFECTS, SpellEffectInfo::MiscValue, mSpellInfoMap, SF_LOG_INFO, SKILL_ENCHANTING, SPELL_ATTR0_CU_AURA_CC, SPELL_ATTR0_CU_CHARGE, SPELL_ATTR0_CU_CONE_BACK, SPELL_ATTR0_CU_CONE_LINE, SPELL_ATTR0_CU_DIRECT_DAMAGE, SPELL_ATTR0_CU_ENCHANT_PROC, SPELL_ATTR0_CU_IGNORE_ARMOR, SPELL_ATTR0_CU_NEGATIVE_EFF0, SPELL_ATTR0_CU_NEGATIVE_EFF1, SPELL_ATTR0_CU_NEGATIVE_EFF2, SPELL_ATTR0_CU_NO_INITIAL_THREAT, SPELL_ATTR0_CU_PICKPOCKET, SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET, SPELL_ATTR0_CU_REQ_TARGET_FACING_CASTER, SPELL_ATTR0_CU_SHARE_DAMAGE, SPELL_AURA_AOE_CHARM, SPELL_AURA_MOD_CHARM, SPELL_AURA_MOD_CONFUSE, SPELL_AURA_MOD_FEAR, SPELL_AURA_MOD_POSSESS, SPELL_AURA_MOD_STUN, SPELL_AURA_OBS_MOD_HEALTH, SPELL_AURA_OBS_MOD_POWER, SPELL_AURA_PERIODIC_DAMAGE, SPELL_AURA_PERIODIC_DAMAGE_PERCENT, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_AURA_PERIODIC_HEAL, SPELL_AURA_PERIODIC_HEALTH_FUNNEL, SPELL_AURA_PERIODIC_LEECH, SPELL_AURA_PERIODIC_MANA_LEECH, SPELL_AURA_POWER_BURN, SPELL_AURA_PROC_TRIGGER_SPELL, SPELL_EFFECT_CHARGE, SPELL_EFFECT_CHARGE_DEST, SPELL_EFFECT_ENCHANT_HELD_ITEM, SPELL_EFFECT_ENCHANT_ITEM, SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC, SPELL_EFFECT_ENCHANT_ITEM_TEMPORARY, SPELL_EFFECT_ENERGIZE, SPELL_EFFECT_ENERGIZE_PCT, SPELL_EFFECT_HEAL, SPELL_EFFECT_HEAL_MAX_HEALTH, SPELL_EFFECT_HEAL_MECHANICAL, SPELL_EFFECT_HEAL_PCT, SPELL_EFFECT_HEALTH_LEECH, SPELL_EFFECT_JUMP, SPELL_EFFECT_JUMP_DEST, SPELL_EFFECT_LEAP_BACK, SPELL_EFFECT_NORMALIZED_WEAPON_DMG, SPELL_EFFECT_PICKPOCKET, SPELL_EFFECT_POWER_BURN, SPELL_EFFECT_POWER_DRAIN, SPELL_EFFECT_SCHOOL_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE_NOSCHOOL, SPELL_EFFECT_WEAPON_PERCENT_DAMAGE, SPELLFAMILY_DRUID, SPELLFAMILY_WARRIOR, SpellInfo::SpellFamilyFlags, SpellInfo::SpellFamilyName, SpellItemEnchantmentEntry::spellid, SpellInfo::SpellVisual, sSpellItemEnchantmentStore, and SpellItemEnchantmentEntry::type.

◆ LoadSpellInfoStore()

◆ LoadSpellLearnSkills()

◆ LoadSpellLearnSpells()

◆ LoadSpellLinked()

◆ LoadSpellPetAuras()

◆ LoadSpellProcEvents()

◆ LoadSpellProcs()

◆ LoadSpellRanks()

◆ LoadSpellRequired()

◆ LoadSpellTalentRanks()

void SpellMgr::LoadSpellTalentRanks ( )

Definition at line 1139 of file SpellMgr.cpp.

Referenced by LoadSpellRanks().

◆ LoadSpellTargetPositions()

◆ LoadSpellThreats()

◆ SetSpellDifficultyId()

void SpellMgr::SetSpellDifficultyId ( uint32 spellId,
uint32 id )

Definition at line 416 of file SpellMgr.cpp.

References mSpellDifficultySearcherMap.

◆ UnloadSpellInfoChains()

void SpellMgr::UnloadSpellInfoChains ( )

Definition at line 1131 of file SpellMgr.cpp.

References mSpellChains, and mSpellInfoMap.

◆ UnloadSpellInfoImplicitTargetConditionLists()

void SpellMgr::UnloadSpellInfoImplicitTargetConditionLists ( )

Definition at line 2677 of file SpellMgr.cpp.

References GetSpellInfoStoreSize(), and mSpellInfoMap.

◆ UnloadSpellInfoStore()

void SpellMgr::UnloadSpellInfoStore ( )

Definition at line 2669 of file SpellMgr.cpp.

References GetSpellInfoStoreSize(), and mSpellInfoMap.

Referenced by LoadSpellInfoStore(), and ~SpellMgr().

◆ Skyfire::Singleton< SpellMgr, Skyfire::NullMutex >

Definition at line 553 of file SpellMgr.h.

References MAX_CREATURE_SPELL_DATA_SLOT.

Member Data Documentation

◆ mEnchantCustomAttr

EnchantCustomAttribute SpellMgr::mEnchantCustomAttr
private

Definition at line 732 of file SpellMgr.h.

Referenced by IsArenaAllowedEnchancment(), and LoadEnchantCustomAttr().

◆ mPetDefaultSpellsMap

PetDefaultSpellsMap SpellMgr::mPetDefaultSpellsMap
private

Definition at line 740 of file SpellMgr.h.

Referenced by GetPetDefaultSpellsEntry(), and LoadPetDefaultSpells().

◆ mPetLevelupSpellMap

PetLevelupSpellMap SpellMgr::mPetLevelupSpellMap
private

Definition at line 739 of file SpellMgr.h.

Referenced by GetPetLevelupSpellList(), and LoadPetLevelupSpellMap().

◆ mSkillLineAbilityMap

SkillLineAbilityMap SpellMgr::mSkillLineAbilityMap
private

Definition at line 738 of file SpellMgr.h.

Referenced by GetSkillLineAbilityMapBounds(), and LoadSkillLineAbilityMap().

◆ mSpellAreaForAreaMap

SpellAreaForAreaMap SpellMgr::mSpellAreaForAreaMap
private

Definition at line 737 of file SpellMgr.h.

Referenced by GetSpellAreaForAreaMapBounds(), and LoadSpellAreas().

◆ mSpellAreaForAuraMap

SpellAreaForAuraMap SpellMgr::mSpellAreaForAuraMap
private

Definition at line 736 of file SpellMgr.h.

Referenced by GetSpellAreaForAuraMapBounds(), and LoadSpellAreas().

◆ mSpellAreaForQuestEndMap

SpellAreaForQuestMap SpellMgr::mSpellAreaForQuestEndMap
private

Definition at line 735 of file SpellMgr.h.

Referenced by GetSpellAreaForQuestEndMapBounds(), and LoadSpellAreas().

◆ mSpellAreaForQuestMap

SpellAreaForQuestMap SpellMgr::mSpellAreaForQuestMap
private

Definition at line 734 of file SpellMgr.h.

Referenced by GetSpellAreaForQuestMapBounds(), and LoadSpellAreas().

◆ mSpellAreaMap

SpellAreaMap SpellMgr::mSpellAreaMap
private

Definition at line 733 of file SpellMgr.h.

Referenced by GetSpellAreaMapBounds(), and LoadSpellAreas().

◆ mSpellBonusMap

SpellBonusMap SpellMgr::mSpellBonusMap
private

Definition at line 727 of file SpellMgr.h.

Referenced by GetSpellBonusData(), and LoadSpellBonusess().

◆ mSpellChains

SpellChainMap SpellMgr::mSpellChains
private

Definition at line 716 of file SpellMgr.h.

Referenced by GetSpellChainNode(), LoadSpellRanks(), and UnloadSpellInfoChains().

◆ mSpellDifficultySearcherMap

SpellDifficultySearcherMap SpellMgr::mSpellDifficultySearcherMap
private

Definition at line 715 of file SpellMgr.h.

Referenced by GetSpellDifficultyId(), and SetSpellDifficultyId().

◆ mSpellEnchantProcEventMap

SpellEnchantProcEventMap SpellMgr::mSpellEnchantProcEventMap
private

Definition at line 731 of file SpellMgr.h.

Referenced by GetSpellEnchantProcEvent(), and LoadSpellEnchantProcData().

◆ mSpellGroupSpell

SpellGroupSpellMap SpellMgr::mSpellGroupSpell
private

Definition at line 723 of file SpellMgr.h.

Referenced by GetSpellGroupSpellMapBounds(), and LoadSpellGroups().

◆ mSpellGroupStack

SpellGroupStackMap SpellMgr::mSpellGroupStack
private

◆ mSpellInfoMap

◆ mSpellLearnSkills

SpellLearnSkillMap SpellMgr::mSpellLearnSkills
private

Definition at line 719 of file SpellMgr.h.

Referenced by GetSpellLearnSkill(), and LoadSpellLearnSkills().

◆ mSpellLearnSpells

SpellLearnSpellMap SpellMgr::mSpellLearnSpells
private

◆ mSpellLinkedMap

SpellLinkedMap SpellMgr::mSpellLinkedMap
private

Definition at line 730 of file SpellMgr.h.

Referenced by GetSpellLinked(), and LoadSpellLinked().

◆ mSpellPetAuraMap

SpellPetAuraMap SpellMgr::mSpellPetAuraMap
private

Definition at line 729 of file SpellMgr.h.

Referenced by GetPetAura(), and LoadSpellPetAuras().

◆ mSpellProcEventMap

SpellProcEventMap SpellMgr::mSpellProcEventMap
private

Definition at line 725 of file SpellMgr.h.

Referenced by GetSpellProcEvent(), and LoadSpellProcEvents().

◆ mSpellProcMap

SpellProcMap SpellMgr::mSpellProcMap
private

Definition at line 726 of file SpellMgr.h.

Referenced by GetSpellProcEntry(), and LoadSpellProcs().

◆ mSpellReq

SpellRequiredMap SpellMgr::mSpellReq
private

Definition at line 718 of file SpellMgr.h.

Referenced by GetSpellsRequiredForSpellBounds(), and LoadSpellRequired().

◆ mSpellSpellGroup

SpellSpellGroupMap SpellMgr::mSpellSpellGroup
private

Definition at line 722 of file SpellMgr.h.

Referenced by GetSpellSpellGroupMapBounds(), and LoadSpellGroups().

◆ mSpellsReqSpell

SpellsRequiringSpellMap SpellMgr::mSpellsReqSpell
private

Definition at line 717 of file SpellMgr.h.

Referenced by GetSpellsRequiringSpellBounds(), and LoadSpellRequired().

◆ mSpellTargetPositions

SpellTargetPositionMap SpellMgr::mSpellTargetPositions
private

Definition at line 721 of file SpellMgr.h.

Referenced by GetSpellTargetPosition(), and LoadSpellTargetPositions().

◆ mSpellThreatMap

SpellThreatMap SpellMgr::mSpellThreatMap
private

Definition at line 728 of file SpellMgr.h.

Referenced by GetSpellThreatEntry(), and LoadSpellThreats().


The documentation for this class was generated from the following files: