TrinityCore
Loading...
Searching...
No Matches
Spell Class Reference

#include <Spell.h>

Classes

struct  CorpseTargetInfo
 
struct  EmpowerData
 
struct  GOTargetInfo
 
struct  HitTriggerSpell
 
struct  ItemTargetInfo
 
struct  TargetInfo
 
struct  TargetInfoBase
 

Public Types

typedef std::unordered_set< Aura * > UsedSpellMods
 

Public Member Functions

void EffectNULL ()
 
void EffectUnused ()
 
void EffectDistract ()
 
void EffectSchoolDMG ()
 
void EffectEnvironmentalDMG ()
 
void EffectInstaKill ()
 
void EffectDummy ()
 
void EffectTeleportUnits ()
 
void EffectTeleportUnitsWithVisualLoadingScreen ()
 
void EffectApplyAura ()
 
void EffectSendEvent ()
 
void EffectPowerBurn ()
 
void EffectPowerDrain ()
 
void EffectHeal ()
 
void EffectBind ()
 
void EffectTeleportToReturnPoint ()
 
void EffectIncreaseCurrencyCap ()
 
void EffectHealthLeech ()
 
void EffectQuestComplete ()
 
void EffectCreateItem ()
 
void EffectCreateItem2 ()
 
void EffectCreateRandomItem ()
 
void EffectPersistentAA ()
 
void EffectEnergize ()
 
void EffectOpenLock ()
 
void EffectSummonChangeItem ()
 
void EffectProficiency ()
 
void EffectSummonType ()
 
void EffectLearnSpell ()
 
void EffectDispel ()
 
void EffectDualWield ()
 
void EffectPickPocket ()
 
void EffectAddFarsight ()
 
void EffectUntrainTalents ()
 
void EffectHealMechanical ()
 
void EffectJump ()
 
void EffectJumpDest ()
 
void EffectLeapBack ()
 
void EffectQuestClear ()
 
void EffectTeleUnitsFaceCaster ()
 
void EffectLearnSkill ()
 
void EffectPlayMovie ()
 
void EffectTradeSkill ()
 
void EffectEnchantItemPerm ()
 
void EffectEnchantItemTmp ()
 
void EffectTameCreature ()
 
void EffectSummonPet ()
 
void EffectLearnPetSpell ()
 
void EffectWeaponDmg ()
 
void EffectForceCast ()
 
void EffectForceCast2 ()
 
void EffectTriggerSpell ()
 
void EffectTriggerMissileSpell ()
 
void EffectThreat ()
 
void EffectHealMaxHealth ()
 
void EffectInterruptCast ()
 
void EffectSummonObjectWild ()
 
void EffectScriptEffect ()
 
void EffectSanctuary ()
 
void EffectDuel ()
 
void EffectStuck ()
 
void EffectSummonPlayer ()
 
void EffectActivateObject ()
 
void EffectApplyGlyph ()
 
void EffectEnchantHeldItem ()
 
void EffectSummonObject ()
 
void EffectChangeRaidMarker ()
 
void EffectResurrect ()
 
void EffectParry ()
 
void EffectBlock ()
 
void EffectLeap ()
 
void EffectTransmitted ()
 
void EffectDisEnchant ()
 
void EffectInebriate ()
 
void EffectFeedPet ()
 
void EffectDismissPet ()
 
void EffectReputation ()
 
void EffectForceDeselect ()
 
void EffectSelfResurrect ()
 
void EffectSkinning ()
 
void EffectCharge ()
 
void EffectChargeDest ()
 
void EffectProspecting ()
 
void EffectMilling ()
 
void EffectRenamePet ()
 
void EffectSendTaxi ()
 
void EffectKnockBack ()
 
void EffectPullTowards ()
 
void EffectPullTowardsDest ()
 
void EffectDispelMechanic ()
 
void EffectResurrectPet ()
 
void EffectDestroyAllTotems ()
 
void EffectDurabilityDamage ()
 
void EffectSkill ()
 
void EffectTaunt ()
 
void EffectDurabilityDamagePCT ()
 
void EffectModifyThreatPercent ()
 
void EffectResurrectNew ()
 
void EffectAddExtraAttacks ()
 
void EffectSpiritHeal ()
 
void EffectSkinPlayerCorpse ()
 
void EffectStealBeneficialBuff ()
 
void EffectUnlearnSpecialization ()
 
void EffectHealPct ()
 
void EffectEnergizePct ()
 
void EffectTriggerRitualOfSummoning ()
 
void EffectSummonRaFFriend ()
 
void EffectUnlockGuildVaultTab ()
 
void EffectKillCreditPersonal ()
 
void EffectKillCredit ()
 
void EffectKillCreditLabel ()
 
void EffectQuestFail ()
 
void EffectQuestStart ()
 
void EffectRedirectThreat ()
 
void EffectGameObjectDamage ()
 
void EffectGameObjectRepair ()
 
void EffectGameObjectSetDestructionState ()
 
void EffectCreateTamedPet ()
 
void EffectDiscoverTaxi ()
 
void EffectTitanGrip ()
 
void EffectEnchantItemPrismatic ()
 
void EffectPlayMusic ()
 
void EffectActivateSpec ()
 
void EffectPlaySound ()
 
void EffectRemoveAura ()
 
void EffectDamageFromMaxHealthPCT ()
 
void EffectCastButtons ()
 
void EffectRechargeItem ()
 
void EffectGiveCurrency ()
 
void EffectSummonPersonalGameObject ()
 
void EffectResurrectWithAura ()
 
void EffectCreateAreaTrigger ()
 
void EffectRemoveTalent ()
 
void EffectDestroyItem ()
 
void EffectLearnGarrisonBuilding ()
 
void EffectRemoveAuraBySpellLabel ()
 
void EffectCreateGarrison ()
 
void EffectCreateConversation ()
 
void EffectCancelConversation ()
 
void EffectAddGarrisonFollower ()
 
void EffectActivateGarrisonBuilding ()
 
void EffectGrantBattlePetLevel ()
 
void EffectGiveExperience ()
 
void EffectGiveRestedExperience ()
 
void EffectHealBattlePetPct ()
 
void EffectEnableBattlePets ()
 
void EffectChangeBattlePetQuality ()
 
void EffectLaunchQuestChoice ()
 
void EffectUncageBattlePet ()
 
void EffectCreateHeirloomItem ()
 
void EffectUpgradeHeirloom ()
 
void EffectApplyEnchantIllusion ()
 
void EffectUpdatePlayerPhase ()
 
void EffectUpdateZoneAurasAndPhases ()
 
void EffectGiveArtifactPower ()
 
void EffectGiveArtifactPowerNoBonus ()
 
void EffectPlaySceneScriptPackage ()
 
void EffectCreateSceneObject ()
 
void EffectCreatePrivateSceneObject ()
 
void EffectPlayScene ()
 
void EffectGiveHonor ()
 
void EffectJumpCharge ()
 
void EffectLearnTransmogSet ()
 
void EffectRespecAzeriteEmpoweredItem ()
 
void EffectLearnAzeriteEssencePower ()
 
void EffectCreatePrivateConversation ()
 
void EffectApplyMountEquipment ()
 
void EffectSkipCampaign ()
 
void EffectSendChatMessage ()
 
void EffectGrantBattlePetExperience ()
 
void EffectLearnTransmogIllusion ()
 
void EffectModifyAuraStacks ()
 
void EffectModifyCooldown ()
 
void EffectModifyCooldowns ()
 
void EffectModifyCooldownsByCategory ()
 
void EffectModifySpellCharges ()
 
void EffectCreateTraitTreeConfig ()
 
void EffectChangeActiveCombatTraitConfig ()
 
void EffectTeleportGraveyard ()
 
void EffectUpdateInteractions ()
 
void EffectSkipQuestLine ()
 
void EffectLearnWarbandScene ()
 
void EffectSetPlayerDataElementAccount ()
 
void EffectSetPlayerDataElementCharacter ()
 
void EffectSetPlayerDataFlagAccount ()
 
void EffectSetPlayerDataFlagCharacter ()
 
void EffectEquipTransmogOutfit ()
 
 Spell (WorldObject *caster, SpellInfo const *info, TriggerCastFlags triggerFlags, ObjectGuid originalCasterGUID=ObjectGuid::Empty, ObjectGuid originalCastId=ObjectGuid::Empty)
 
 ~Spell ()
 
void InitExplicitTargets (SpellCastTargets const &targets)
 
void SelectExplicitTargets ()
 
void SelectSpellTargets ()
 
void SelectEffectImplicitTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 &processedEffectMask)
 
void SelectImplicitChannelTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType)
 
void SelectImplicitNearbyTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask)
 
void SelectImplicitConeTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask)
 
void SelectImplicitAreaTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask)
 
void SelectImplicitCasterDestTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex)
 
void SelectImplicitTargetDestTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex)
 
void SelectImplicitDestDestTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex)
 
void SelectImplicitCasterObjectTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType)
 
void SelectImplicitTargetObjectTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType)
 
void SelectImplicitChainTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, WorldObject *target, uint32 effMask)
 
void SelectImplicitTrajTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType)
 
void SelectImplicitLineTargets (SpellEffectInfo const &spellEffectInfo, SpellImplicitTargetInfo const &targetType, SpellTargetIndex targetIndex, uint32 effMask)
 
void SelectEffectTypeImplicitTargets (SpellEffectInfo const &spellEffectInfo)
 
WorldObjectSearchNearbyTarget (SpellEffectInfo const &spellEffectInfo, float range, SpellTargetObjectTypes objectType, SpellTargetCheckTypes selectionType, ConditionContainer const *condList=nullptr)
 
void SearchAreaTargets (std::list< WorldObject * > &targets, SpellEffectInfo const &spellEffectInfo, SpellRange range, Position const *position, WorldObject *referer, SpellTargetObjectTypes objectType, SpellTargetCheckTypes selectionType, ConditionContainer const *condList, Trinity::WorldObjectSpellAreaTargetSearchReason searchReason)
 
void SearchChainTargets (std::list< WorldObject * > &targets, uint32 chainTargets, WorldObject *target, SpellTargetObjectTypes objectType, SpellTargetCheckTypes selectType, SpellEffectInfo const &spellEffectInfo, bool isChainHeal)
 
GameObjectSearchSpellFocus ()
 
SpellCastResult prepare (SpellCastTargets const &targets, AuraEffect const *triggeredByAura=nullptr)
 
void cancel ()
 
void update (uint32 difftime)
 
void cast (bool skipCheck=false)
 
void finish (SpellCastResult result=SPELL_CAST_OK)
 
void TakePower ()
 
void RefundPower ()
 
void TakeRunePower (bool didHit)
 
void RefundRunePower ()
 
void TakeReagents ()
 
void TakeCastItem ()
 
SpellCastResult CheckCast (bool strict, int32 *param1=nullptr, int32 *param2=nullptr)
 
SpellCastResult CheckPetCast (Unit *target)
 
void handle_immediate ()
 
uint64 handle_delayed (uint64 t_offset)
 
void _handle_immediate_phase ()
 
void _handle_finish_phase ()
 
SpellCastResult CheckItems (int32 *param1, int32 *param2) const
 
SpellCastResult CheckRange (bool strict) const
 
SpellCastResult CheckPower () const
 
SpellCastResult CheckRuneCost () const
 
SpellCastResult CheckCasterAuras (int32 *param1) const
 
SpellCastResult CheckArenaAndRatedBattlegroundCastRules ()
 
SpellCastResult CheckMovement () const
 
bool CheckSpellCancelsAuraEffect (AuraType auraType, int32 *param1) const
 
bool CheckSpellCancelsCharm (int32 *param1) const
 
bool CheckSpellCancelsStun (int32 *param1) const
 
bool CheckSpellCancelsSilence (int32 *param1) const
 
bool CheckSpellCancelsPacify (int32 *param1) const
 
bool CheckSpellCancelsFear (int32 *param1) const
 
bool CheckSpellCancelsConfuse (int32 *param1) const
 
bool CheckSpellCancelsNoActions (int32 *param1) const
 
SpellEffectValue CalculateDamage (SpellEffectInfo const &spellEffectInfo, Unit const *target, float *var=nullptr) const
 
void Delayed ()
 
void DelayedChannel ()
 
SpellState getState () const
 
void setState (SpellState state)
 
void DoCreateItem (uint32 itemId, ItemContext context=ItemContext::NONE, std::vector< int32 > const *bonusListIDs=nullptr)
 
bool CheckEffectTarget (Unit const *target, SpellEffectInfo const &spellEffectInfo, Position const *losPosition) const
 
bool CheckEffectTarget (GameObject const *target, SpellEffectInfo const &spellEffectInfo) const
 
bool CheckEffectTarget (Item const *target, SpellEffectInfo const &spellEffectInfo) const
 
bool CanAutoCast (Unit *target)
 
void CheckSrc ()
 
void CheckDst ()
 
void SendCastResult (SpellCastResult result, int32 *param1=nullptr, int32 *param2=nullptr) const
 
void SendPetCastResult (SpellCastResult result, int32 *param1=nullptr, int32 *param2=nullptr) const
 
void SendMountResult (MountResult result)
 
void SendSpellStart ()
 
void SendSpellGo ()
 
void SendSpellCooldown ()
 
void SendSpellExecuteLog ()
 
SpellLogEffectGetExecuteLogEffect (SpellEffectName effect)
 
template<typename T >
std::vector< T > & GetExecuteLogEffectTargets (SpellEffectName effect, Optional< std::vector< T > > SpellLogEffect::*member)
 
void ExecuteLogEffectTakeTargetPower (SpellEffectName effect, Unit *target, Powers powerType, uint32 points, float amplitude)
 
void ExecuteLogEffectExtraAttacks (SpellEffectName effect, Unit *victim, uint32 numAttacks)
 
void ExecuteLogEffectDurabilityDamage (SpellEffectName effect, Unit *victim, int32 itemId, int32 amount)
 
void ExecuteLogEffectOpenLock (SpellEffectName effect, Object *obj)
 
void ExecuteLogEffectCreateItem (SpellEffectName effect, uint32 entry)
 
void ExecuteLogEffectDestroyItem (SpellEffectName effect, uint32 entry)
 
void ExecuteLogEffectSummonObject (SpellEffectName effect, WorldObject *obj)
 
void ExecuteLogEffectUnsummonObject (SpellEffectName effect, WorldObject *obj)
 
void ExecuteLogEffectResurrect (SpellEffectName effect, Unit *target)
 
void SendSpellInterruptLog (Unit *victim, uint32 spellId)
 
void SendInterrupted (uint8 result)
 
void SendChannelUpdate (uint32 time, Optional< SpellCastResult > result={})
 
void SendChannelStart (uint32 duration)
 
void SendResurrectRequest (Player *target)
 
void HandleEffects (Unit *pUnitTarget, Item *pItemTarget, GameObject *pGoTarget, Corpse *pCorpseTarget, SpellEffectInfo const &spellEffectInfo, SpellEffectHandleMode mode)
 
void HandleThreatSpells ()
 
int32 GetCastTime () const
 
int32 GetRemainingCastTime () const
 
int32 GetChannelDuration () const
 
bool IsAutoRepeat () const
 
void SetAutoRepeat (bool rep)
 
void ReSetTimer ()
 
bool IsTriggered () const
 
bool IsIgnoringCooldowns () const
 
bool IsFocusDisabled () const
 
bool IsProcDisabled () const
 
bool IsChannelActive () const
 
bool IsAutoActionResetSpell () const
 
bool IsPositive () const
 
bool IsEmpowerSpell () const
 
void SetEmpowerReleasedByClient (bool release)
 
bool CanReleaseEmpowerSpell () const
 
bool IsTriggeredByAura (SpellInfo const *auraSpellInfo) const
 
int32 GetProcChainLength () const
 
bool IsDeletable () const
 
void SetReferencedFromCurrent (bool yes)
 
bool IsInterruptable () const
 
void SetExecutedCurrently (bool yes)
 
uint64 GetDelayStart () const
 
void SetDelayStart (uint64 m_time)
 
uint64 GetDelayMoment () const
 
uint64 CalculateDelayMomentForDst (float launchDelay) const
 
void RecalculateDelayMomentForDst ()
 
void UpdateDelayMomentForDst (uint64 hitDelay)
 
void UpdateDelayMomentForUnitTarget (Unit *unit, uint64 hitDelay)
 
uint8 GetRuneState () const
 
void SetRuneState (uint8 value)
 
bool IsNeedSendToClient () const
 
CurrentSpellTypes GetCurrentContainer () const
 
WorldObjectGetCaster () const
 
ObjectGuid GetOriginalCasterGUID () const
 
UnitGetOriginalCaster () const
 
SpellInfo const * GetSpellInfo () const
 
Difficulty GetCastDifficulty () const
 
std::vector< SpellPowerCost > const & GetPowerCost () const
 
bool HasPowerTypeCost (Powers power) const
 
Optional< int32GetPowerTypeCostAmount (Powers power) const
 
bool UpdatePointers ()
 
void CleanupTargetList ()
 
void SetSpellValue (CastSpellExtraArgsInit::SpellValueOverride const &value)
 
SpellInfo const * GetTriggeredByAuraSpell () const
 
int32 GetTimer () const
 
int64 GetUnitTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetGameObjectTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetItemTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetCorpseTargetCountForEffect (SpellEffIndex effect) const
 
std::string GetDebugInfo () const
 
Trinity::unique_weak_ptr< SpellGetWeakPtr () const
 
void CallScriptOnResistAbsorbCalculateHandlers (DamageInfo const &damageInfo, uint32 &resistAmount, int32 &absorbAmount)
 
bool IsWithinLOS (WorldObject const *source, WorldObject const *target, bool targetAsSourceLocation, VMAP::ModelIgnoreFlags ignoreFlags) const
 
bool IsWithinLOS (WorldObject const *source, Position const &target, VMAP::ModelIgnoreFlags ignoreFlags) const
 
void MovePosition (Position &pos, WorldObject const *from, float dist, float angle) const
 
SpellRange GetMinMaxRange (bool strict) const
 
void CallScriptCalcCritChanceHandlers (Unit const *victim, float &chance)
 
void CallScriptCalcDamageHandlers (SpellEffectInfo const &spellEffectInfo, Unit *victim, int32 &damage, int32 &flatMod, float &pctMod)
 
void CallScriptCalcHealingHandlers (SpellEffectInfo const &spellEffectInfo, Unit *victim, int32 &healing, int32 &flatMod, float &pctMod)
 
template<class Script >
ScriptGetScript () const
 

Static Public Member Functions

static uint32 GetSearcherTypeMask (SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, SpellTargetObjectTypes objType, ConditionContainer const *condList)
 
template<class SEARCHER >
static void SearchTargets (SEARCHER &searcher, uint32 containerMask, WorldObject *referer, Position const *pos, float radius)
 
static void SendCastResult (Player *caster, SpellInfo const *spellInfo, SpellCastVisual spellVisual, ObjectGuid cast_count, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE, int32 *param1=nullptr, int32 *param2=nullptr)
 
static Spell const * ExtractSpellFromEvent (BasicEvent *event)
 
static bool CanIncreaseRangeByMovement (Unit const *unit)
 

Public Attributes

SpellInfo const *const m_spellInfo
 
Itemm_CastItem
 
ObjectGuid m_castItemGUID
 
uint32 m_castItemEntry
 
int32 m_castItemLevel
 
ObjectGuid m_castId
 
ObjectGuid m_originalCastId
 
bool m_fromClient
 
uint32 m_castFlagsEx
 
union { 
 
   uint32   TalentId 
 
   uint32   SpellId 
 
   uint32   SpecializationId 
 
   struct { 
 
      uint32   Id 
 
      uint32   AbilityId 
 
   }   GarrFollower 
 
   uint32   GarrMissionId 
 
   uint32   ItemId 
 
   struct { 
 
      uint32   EquipAction 
 
      uint32   TransmogOutfitId 
 
      uint32   SituationTrigger 
 
   }   EquipTransmogOutfit 
 
   struct { 
 
      uint32   Data [3] 
 
   }   Raw 
 
m_misc 
 
std::any m_customArg
 
SpellCastVisual m_SpellVisual
 
SpellCastTargets m_targets
 
SpellCustomErrors m_customError
 
UsedSpellMods m_appliedMods
 
Scripting::v2::ActionResultSetter< SpellCastResultm_scriptResult
 
bool m_scriptWaitsForSpellHit = false
 
Spell ** m_selfContainer
 

Protected Types

typedef std::vector< HitTriggerSpellHitTriggerSpellList
 

Protected Member Functions

bool HasGlobalCooldown () const
 
void TriggerGlobalCooldown ()
 
void CancelGlobalCooldown ()
 
void _cast (bool skipCheck=false)
 
bool IsDelayableNoMore ()
 
int32 GetEffectValueAsInt () const
 
UnitGetUnitCasterForEffectHandlers () const
 
void prepareDataForTriggerSystem ()
 
std::pair< ProcFlagsInit, ProcFlagsInitFinalizeDataForTriggerSystem (bool positive) const
 
template<class Container >
void DoProcessTargetContainer (Container &targetContainer)
 
int32 GetUnitTargetIndexForEffect (ObjectGuid const &target, SpellEffIndex effect) const
 
void AddUnitTarget (Unit *target, uint32 effectMask, bool checkIfValid=true, bool implicit=true, Position const *losPosition=nullptr)
 
void AddGOTarget (GameObject *target, uint32 effectMask)
 
void AddItemTarget (Item *item, uint32 effectMask)
 
void AddCorpseTarget (Corpse *target, uint32 effectMask)
 
void AddDestTarget (SpellDestination const &dest, uint32 effIndex)
 
void PreprocessSpellLaunch (TargetInfo &targetInfo)
 
SpellMissInfo PreprocessSpellHit (Unit *unit, TargetInfo &targetInfo)
 
void DoSpellEffectHit (Unit *unit, SpellEffectInfo const &spellEffectInfo, TargetInfo &targetInfo)
 
void DoTriggersOnSpellHit (Unit *unit)
 
bool UpdateChanneledTargetList ()
 
bool IsValidDeadOrAliveTarget (Unit const *target) const
 
void HandleLaunchPhase ()
 
void DoEffectOnLaunchTarget (TargetInfo &targetInfo, float multiplier, SpellEffectInfo const &spellEffectInfo)
 
void ResetCombatTimers ()
 
void PrepareTargetProcessing ()
 
void FinishTargetProcessing ()
 
void LoadScripts ()
 
void CallScriptOnPrecastHandler ()
 
void CallScriptBeforeCastHandlers ()
 
void CallScriptOnCastHandlers ()
 
void CallScriptAfterCastHandlers ()
 
SpellCastResult CallScriptCheckCastHandlers ()
 
int32 CallScriptCalcCastTimeHandlers (int32 originalCastTime)
 
bool CallScriptEffectHandlers (SpellEffIndex effIndex, SpellEffectHandleMode mode)
 
void CallScriptSuccessfulDispel (SpellEffIndex effIndex)
 
void CallScriptBeforeHitHandlers (SpellMissInfo missInfo)
 
void CallScriptOnHitHandlers ()
 
void CallScriptAfterHitHandlers ()
 
void CallScriptObjectAreaTargetSelectHandlers (std::list< WorldObject * > &targets, SpellEffIndex effIndex, SpellImplicitTargetInfo const &targetType)
 
void CallScriptObjectTargetSelectHandlers (WorldObject *&target, SpellEffIndex effIndex, SpellImplicitTargetInfo const &targetType)
 
void CallScriptDestinationTargetSelectHandlers (SpellDestination &target, SpellEffIndex effIndex, SpellImplicitTargetInfo const &targetType)
 
void CallScriptEmpowerStageCompletedHandlers (int32 completedStagesCount)
 
void CallScriptEmpowerCompletedHandlers (int32 completedStagesCount)
 
bool CheckScriptEffectImplicitTargets (uint32 effIndex, uint32 effIndexToCheck)
 
SpellScriptGetScriptByType (std::type_info const &type) const
 
bool CanExecuteTriggersOnHit (Unit *unit, SpellInfo const *triggeredByAura=nullptr) const
 
void PrepareTriggersExecutedOnHit ()
 
void SummonGuardian (SpellEffectInfo const *effect, uint32 entry, SummonPropertiesEntry const *properties, uint32 numSummons, ObjectGuid privateObjectOwner)
 
void UpdateSpellCastDataTargets (WorldPackets::Spells::SpellCastData &data)
 Writes miss and hit targets for a SMSG_SPELL_GO packet.
 
int32 GetSpellCastDataAmmo ()
 
void UpdateSpellHealPrediction (WorldPackets::Spells::SpellHealPrediction &healPrediction, bool withPeriodic)
 
SpellCastResult CanOpenLock (SpellEffectInfo const &effect, uint32 lockid, SkillType &skillid, int32 &reqSkillValue, int32 &skillValue)
 
 Spell (Spell const &right)=delete
 
Spelloperator= (Spell const &right)=delete
 

Protected Attributes

WorldObject *const m_caster
 
SpellValue *const m_spellValue
 
ObjectGuid m_originalCasterGUID
 
Unitm_originalCaster
 
SpellSchoolMask m_spellSchoolMask
 
WeaponAttackType m_attackType
 
std::vector< SpellPowerCostm_powerCost
 
int32 m_casttime
 
int32 m_channelDuration
 
bool m_canReflect
 
bool m_autoRepeat
 
uint8 m_runesState
 
uint8 m_delayAtDamageCount
 
std::unique_ptr< EmpowerDatam_empower
 
uint64 m_delayStart
 
uint64 m_delayMoment
 
bool m_launchHandled
 
bool m_immediateHandled
 
bool m_referencedFromCurrentSpell
 
bool m_executedCurrently
 
uint32 m_applyMultiplierMask
 
float m_damageMultipliers [MAX_SPELL_EFFECTS]
 
UnitunitTarget
 
ItemitemTarget
 
GameObjectgameObjTarget
 
Corpsem_corpseTarget
 
WorldLocationdestTarget
 
SpellEffectValue effectValue
 
SpellMissInfo targetMissInfo
 
float variance
 
SpellEffectHandleMode effectHandleMode
 
SpellEffectInfo const * effectInfo
 
UnitAura_spellAura
 
DynObjAura_dynObjAura
 
GameObjectfocusObject
 
int32 m_damage
 
int32 m_healing
 
ProcFlagsInit m_procAttacker
 
ProcFlagsInit m_procVictim
 
ProcFlagsHit m_hitMask
 
ProcFlagsSpellType m_procSpellType
 
std::vector< TargetInfom_UniqueTargetInfo
 
uint32 m_channelTargetEffectMask
 
std::vector< GOTargetInfom_UniqueGOTargetInfo
 
std::vector< ItemTargetInfom_UniqueItemInfo
 
std::vector< CorpseTargetInfom_UniqueCorpseTargetInfo
 
SpellDestination m_destTargets [MAX_SPELL_EFFECTS]
 
std::vector< SpellScript * > m_loadedScripts
 
HitTriggerSpellList m_hitTriggerSpells
 
SpellState m_spellState
 
int32 m_timer
 
SpellEvent_spellEvent
 
TriggerCastFlags _triggeredCastFlags
 
SpellInfo const * m_triggeredByAuraSpell
 
int32 m_procChainLength
 
std::unique_ptr< PathGeneratorm_preGeneratedPath
 
std::vector< SpellLogEffect_executeLogEffects
 

Friends

class SpellScript
 

Detailed Description

Definition at line 276 of file Spell.h.

Member Typedef Documentation

◆ HitTriggerSpellList

typedef std::vector<HitTriggerSpell> Spell::HitTriggerSpellList
protected

Definition at line 975 of file Spell.h.

◆ UsedSpellMods

typedef std::unordered_set<Aura*> Spell::UsedSpellMods

Definition at line 469 of file Spell.h.

Constructor & Destructor Documentation

◆ Spell() [1/2]

Spell::Spell ( WorldObject caster,
SpellInfo const *  info,
TriggerCastFlags  triggerFlags,
ObjectGuid  originalCasterGUID = ObjectGuid::Empty,
ObjectGuid  originalCastId = ObjectGuid::Empty 
)

Definition at line 473 of file Spell.cpp.

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

◆ ~Spell()

Spell::~Spell ( )

Definition at line 598 of file Spell.cpp.

+ Here is the call graph for this function:

◆ Spell() [2/2]

Spell::Spell ( Spell const &  right)
protecteddelete

Member Function Documentation

◆ _cast()

void Spell::_cast ( bool  skipCheck = false)
protected

Not own traded item (in trader trade slot) req. reagents including triggered spell case

Definition at line 3676 of file Spell.cpp.

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

◆ _handle_finish_phase()

void Spell::_handle_finish_phase ( )

Definition at line 4192 of file Spell.cpp.

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

◆ _handle_immediate_phase()

void Spell::_handle_immediate_phase ( )

Definition at line 4172 of file Spell.cpp.

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

◆ AddCorpseTarget()

void Spell::AddCorpseTarget ( Corpse target,
uint32  effectMask 
)
protected

Definition at line 2626 of file Spell.cpp.

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

◆ AddDestTarget()

void Spell::AddDestTarget ( SpellDestination const &  dest,
uint32  effIndex 
)
protected

Definition at line 2678 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ AddGOTarget()

void Spell::AddGOTarget ( GameObject target,
uint32  effectMask 
)
protected

Definition at line 2545 of file Spell.cpp.

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

◆ AddItemTarget()

void Spell::AddItemTarget ( Item item,
uint32  effectMask 
)
protected

Definition at line 2598 of file Spell.cpp.

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

◆ AddUnitTarget()

void Spell::AddUnitTarget ( Unit target,
uint32  effectMask,
bool  checkIfValid = true,
bool  implicit = true,
Position const *  losPosition = nullptr 
)
protected
Todo:
this is a hack

Definition at line 2431 of file Spell.cpp.

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

◆ CalculateDamage()

SpellEffectValue Spell::CalculateDamage ( SpellEffectInfo const &  spellEffectInfo,
Unit const *  target,
float *  var = nullptr 
) const

Definition at line 7266 of file Spell.cpp.

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

◆ CalculateDelayMomentForDst()

uint64 Spell::CalculateDelayMomentForDst ( float  launchDelay) const

Definition at line 831 of file Spell.cpp.

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

◆ CallScriptAfterCastHandlers()

void Spell::CallScriptAfterCastHandlers ( )
protected

Definition at line 8883 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptAfterHitHandlers()

void Spell::CallScriptAfterHitHandlers ( )
protected

Definition at line 9007 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptBeforeCastHandlers()

void Spell::CallScriptBeforeCastHandlers ( )
protected

Definition at line 8859 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptBeforeHitHandlers()

void Spell::CallScriptBeforeHitHandlers ( SpellMissInfo  missInfo)
protected

Definition at line 8982 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptCalcCastTimeHandlers()

int32 Spell::CallScriptCalcCastTimeHandlers ( int32  originalCastTime)
protected

Definition at line 8913 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptCalcCritChanceHandlers()

void Spell::CallScriptCalcCritChanceHandlers ( Unit const *  victim,
float &  chance 
)

Definition at line 9019 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptCalcDamageHandlers()

void Spell::CallScriptCalcDamageHandlers ( SpellEffectInfo const &  spellEffectInfo,
Unit victim,
int32 damage,
int32 flatMod,
float &  pctMod 
)

Definition at line 9031 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptCalcHealingHandlers()

void Spell::CallScriptCalcHealingHandlers ( SpellEffectInfo const &  spellEffectInfo,
Unit victim,
int32 healing,
int32 flatMod,
float &  pctMod 
)

Definition at line 9043 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptCheckCastHandlers()

SpellCastResult Spell::CallScriptCheckCastHandlers ( )
protected

Definition at line 8895 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptDestinationTargetSelectHandlers()

void Spell::CallScriptDestinationTargetSelectHandlers ( SpellDestination target,
SpellEffIndex  effIndex,
SpellImplicitTargetInfo const &  targetType 
)
protected

Definition at line 9081 of file Spell.cpp.

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

◆ CallScriptEffectHandlers()

bool Spell::CallScriptEffectHandlers ( SpellEffIndex  effIndex,
SpellEffectHandleMode  mode 
)
protected

Definition at line 8924 of file Spell.cpp.

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

◆ CallScriptEmpowerCompletedHandlers()

void Spell::CallScriptEmpowerCompletedHandlers ( int32  completedStagesCount)
protected

Definition at line 9118 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptEmpowerStageCompletedHandlers()

void Spell::CallScriptEmpowerStageCompletedHandlers ( int32  completedStagesCount)
protected

Definition at line 9106 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptObjectAreaTargetSelectHandlers()

void Spell::CallScriptObjectAreaTargetSelectHandlers ( std::list< WorldObject * > &  targets,
SpellEffIndex  effIndex,
SpellImplicitTargetInfo const &  targetType 
)
protected

Definition at line 9055 of file Spell.cpp.

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

◆ CallScriptObjectTargetSelectHandlers()

void Spell::CallScriptObjectTargetSelectHandlers ( WorldObject *&  target,
SpellEffIndex  effIndex,
SpellImplicitTargetInfo const &  targetType 
)
protected

Definition at line 9068 of file Spell.cpp.

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

◆ CallScriptOnCastHandlers()

void Spell::CallScriptOnCastHandlers ( )
protected

Definition at line 8871 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptOnHitHandlers()

void Spell::CallScriptOnHitHandlers ( )
protected

Definition at line 8995 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptOnPrecastHandler()

void Spell::CallScriptOnPrecastHandler ( )
protected

Definition at line 8849 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptOnResistAbsorbCalculateHandlers()

void Spell::CallScriptOnResistAbsorbCalculateHandlers ( DamageInfo const &  damageInfo,
uint32 resistAmount,
int32 absorbAmount 
)

Definition at line 9094 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CallScriptSuccessfulDispel()

void Spell::CallScriptSuccessfulDispel ( SpellEffIndex  effIndex)
protected

Definition at line 8970 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CanAutoCast()

bool Spell::CanAutoCast ( Unit target)

Definition at line 7276 of file Spell.cpp.

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

◆ cancel()

void Spell::cancel ( )

Definition at line 3600 of file Spell.cpp.

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

◆ CancelGlobalCooldown()

void Spell::CancelGlobalCooldown ( )
protected

Definition at line 9291 of file Spell.cpp.

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

◆ CanExecuteTriggersOnHit()

bool Spell::CanExecuteTriggersOnHit ( Unit unit,
SpellInfo const *  triggeredByAura = nullptr 
) const
protected

Definition at line 9175 of file Spell.cpp.

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

◆ CanIncreaseRangeByMovement()

bool Spell::CanIncreaseRangeByMovement ( Unit const *  unit)
static

Definition at line 7392 of file Spell.cpp.

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

◆ CanOpenLock()

SpellCastResult Spell::CanOpenLock ( SpellEffectInfo const &  effect,
uint32  lockid,
SkillType skillid,
int32 reqSkillValue,
int32 skillValue 
)
protected

Definition at line 8716 of file Spell.cpp.

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

◆ CanReleaseEmpowerSpell()

bool Spell::CanReleaseEmpowerSpell ( ) const

Definition at line 8395 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ cast()

void Spell::cast ( bool  skipCheck = false)

Definition at line 3659 of file Spell.cpp.

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

◆ CheckArenaAndRatedBattlegroundCastRules()

SpellCastResult Spell::CheckArenaAndRatedBattlegroundCastRules ( )

Definition at line 7211 of file Spell.cpp.

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

◆ CheckCast()

SpellCastResult Spell::CheckCast ( bool  strict,
int32 param1 = nullptr,
int32 param2 = nullptr 
)
Todo:
determine if there is some flag to enable/disable the check

Definition at line 5799 of file Spell.cpp.

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

◆ CheckCasterAuras()

SpellCastResult Spell::CheckCasterAuras ( int32 param1) const

Definition at line 7010 of file Spell.cpp.

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

◆ CheckDst()

void Spell::CheckDst ( )

Definition at line 7338 of file Spell.cpp.

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

◆ CheckEffectTarget() [1/3]

bool Spell::CheckEffectTarget ( GameObject const *  target,
SpellEffectInfo const &  spellEffectInfo 
) const

Definition at line 8326 of file Spell.cpp.

+ Here is the call graph for this function:

◆ CheckEffectTarget() [2/3]

bool Spell::CheckEffectTarget ( Item const *  target,
SpellEffectInfo const &  spellEffectInfo 
) const

Definition at line 8343 of file Spell.cpp.

◆ CheckEffectTarget() [3/3]

bool Spell::CheckEffectTarget ( Unit const *  target,
SpellEffectInfo const &  spellEffectInfo,
Position const *  losPosition 
) const
Todo:
shit below shouldn't be here, but it's temporary

Definition at line 8238 of file Spell.cpp.

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

◆ CheckItems()

SpellCastResult Spell::CheckItems ( int32 param1,
int32 param2 
) const
Todo:
Needs review

Definition at line 7500 of file Spell.cpp.

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

◆ CheckMovement()

SpellCastResult Spell::CheckMovement ( ) const

Definition at line 7242 of file Spell.cpp.

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

◆ CheckPetCast()

SpellCastResult Spell::CheckPetCast ( Unit target)

Definition at line 6976 of file Spell.cpp.

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

◆ CheckPower()

SpellCastResult Spell::CheckPower ( ) const

Definition at line 7456 of file Spell.cpp.

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

◆ CheckRange()

SpellCastResult Spell::CheckRange ( bool  strict) const

Definition at line 7344 of file Spell.cpp.

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

◆ CheckRuneCost()

SpellCastResult Spell::CheckRuneCost ( ) const

Definition at line 5599 of file Spell.cpp.

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

◆ CheckScriptEffectImplicitTargets()

bool Spell::CheckScriptEffectImplicitTargets ( uint32  effIndex,
uint32  effIndexToCheck 
)
protected

Definition at line 9130 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ CheckSpellCancelsAuraEffect()

bool Spell::CheckSpellCancelsAuraEffect ( AuraType  auraType,
int32 param1 
) const

Definition at line 7142 of file Spell.cpp.

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

◆ CheckSpellCancelsCharm()

bool Spell::CheckSpellCancelsCharm ( int32 param1) const

Definition at line 7171 of file Spell.cpp.

+ Here is the call graph for this function:

◆ CheckSpellCancelsConfuse()

bool Spell::CheckSpellCancelsConfuse ( int32 param1) const

Definition at line 7201 of file Spell.cpp.

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

◆ CheckSpellCancelsFear()

bool Spell::CheckSpellCancelsFear ( int32 param1) const

Definition at line 7196 of file Spell.cpp.

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

◆ CheckSpellCancelsNoActions()

bool Spell::CheckSpellCancelsNoActions ( int32 param1) const

Definition at line 7206 of file Spell.cpp.

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

◆ CheckSpellCancelsPacify()

bool Spell::CheckSpellCancelsPacify ( int32 param1) const

Definition at line 7190 of file Spell.cpp.

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

◆ CheckSpellCancelsSilence()

bool Spell::CheckSpellCancelsSilence ( int32 param1) const

Definition at line 7184 of file Spell.cpp.

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

◆ CheckSpellCancelsStun()

bool Spell::CheckSpellCancelsStun ( int32 param1) const

Definition at line 7178 of file Spell.cpp.

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

◆ CheckSrc()

void Spell::CheckSrc ( )

Definition at line 7332 of file Spell.cpp.

+ Here is the call graph for this function:

◆ CleanupTargetList()

void Spell::CleanupTargetList ( )

Definition at line 2397 of file Spell.cpp.

◆ Delayed()

void Spell::Delayed ( )

Definition at line 8058 of file Spell.cpp.

+ Here is the call graph for this function:

◆ DelayedChannel()

void Spell::DelayedChannel ( )

Definition at line 8094 of file Spell.cpp.

+ Here is the call graph for this function:

◆ DoCreateItem()

void Spell::DoCreateItem ( uint32  itemId,
ItemContext  context = ItemContext::NONE,
std::vector< int32 > const *  bonusListIDs = nullptr 
)

Definition at line 1373 of file SpellEffects.cpp.

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

◆ DoEffectOnLaunchTarget()

void Spell::DoEffectOnLaunchTarget ( TargetInfo targetInfo,
float  multiplier,
SpellEffectInfo const &  spellEffectInfo 
)
protected

Definition at line 8630 of file Spell.cpp.

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

◆ DoProcessTargetContainer()

template<class Container >
void Spell::DoProcessTargetContainer ( Container &  targetContainer)
protected

Definition at line 3963 of file Spell.cpp.

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

◆ DoSpellEffectHit()

void Spell::DoSpellEffectHit ( Unit unit,
SpellEffectInfo const &  spellEffectInfo,
TargetInfo targetInfo 
)
protected

Definition at line 3209 of file Spell.cpp.

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

◆ DoTriggersOnSpellHit()

void Spell::DoTriggersOnSpellHit ( Unit unit)
protected
Todo:
remove/cleanup this, as this table is not documented and people are doing stupid things with it

Definition at line 3297 of file Spell.cpp.

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

◆ EffectActivateGarrisonBuilding()

void Spell::EffectActivateGarrisonBuilding ( )

Definition at line 5549 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectActivateObject()

void Spell::EffectActivateObject ( )

Definition at line 3394 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectActivateSpec()

void Spell::EffectActivateSpec ( )

Definition at line 5097 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectAddExtraAttacks()

void Spell::EffectAddExtraAttacks ( )

Definition at line 3684 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectAddFarsight()

void Spell::EffectAddFarsight ( )

Definition at line 2302 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectAddGarrisonFollower()

void Spell::EffectAddGarrisonFollower ( )

Definition at line 5517 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectApplyAura()

void Spell::EffectApplyAura ( )

Definition at line 1114 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectApplyEnchantIllusion()

void Spell::EffectApplyEnchantIllusion ( )

Definition at line 5714 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectApplyGlyph()

void Spell::EffectApplyGlyph ( )

Definition at line 3407 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectApplyMountEquipment()

void Spell::EffectApplyMountEquipment ( )

Definition at line 6028 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectBind()

void Spell::EffectBind ( )

Definition at line 5247 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectBlock()

void Spell::EffectBlock ( )

Definition at line 3708 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCancelConversation()

void Spell::EffectCancelConversation ( )

Definition at line 5500 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCastButtons()

void Spell::EffectCastButtons ( )

Action button data is unverified when it's set so it can be "hacked" to contain invalid spells, so filter here.

Definition at line 5184 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectChangeActiveCombatTraitConfig()

void Spell::EffectChangeActiveCombatTraitConfig ( )

Definition at line 6236 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectChangeBattlePetQuality()

void Spell::EffectChangeBattlePetQuality ( )

Definition at line 5627 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectChangeRaidMarker()

void Spell::EffectChangeRaidMarker ( )

Definition at line 4213 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCharge()

void Spell::EffectCharge ( )

Definition at line 3936 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectChargeDest()

void Spell::EffectChargeDest ( )

Definition at line 3991 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateAreaTrigger()

void Spell::EffectCreateAreaTrigger ( )

Definition at line 5406 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateConversation()

void Spell::EffectCreateConversation ( )

Definition at line 5488 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateGarrison()

void Spell::EffectCreateGarrison ( )

Definition at line 5477 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateHeirloomItem()

void Spell::EffectCreateHeirloomItem ( )

Definition at line 5529 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateItem()

void Spell::EffectCreateItem ( )

Definition at line 1463 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateItem2()

void Spell::EffectCreateItem2 ( )
Todo:
ExecuteLogEffectCreateItem(i, m_spellInfo->Effects[i].ItemType);

Definition at line 1472 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreatePrivateConversation()

void Spell::EffectCreatePrivateConversation ( )

Definition at line 6017 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreatePrivateSceneObject()

void Spell::EffectCreatePrivateSceneObject ( )

Definition at line 5829 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateRandomItem()

void Spell::EffectCreateRandomItem ( )
Todo:
ExecuteLogEffectCreateItem(i, m_spellInfo->Effects[i].ItemType);

Definition at line 1502 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateSceneObject()

void Spell::EffectCreateSceneObject ( )

Definition at line 5808 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateTamedPet()

void Spell::EffectCreateTamedPet ( )

Definition at line 4907 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectCreateTraitTreeConfig()

void Spell::EffectCreateTraitTreeConfig ( )

Definition at line 6191 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDamageFromMaxHealthPCT()

void Spell::EffectDamageFromMaxHealthPCT ( )

Definition at line 5159 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDestroyAllTotems()

void Spell::EffectDestroyAllTotems ( )

Definition at line 4337 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDestroyItem()

void Spell::EffectDestroyItem ( )

Definition at line 5438 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDiscoverTaxi()

void Spell::EffectDiscoverTaxi ( )

Definition at line 4938 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDisEnchant()

void Spell::EffectDisEnchant ( )

Definition at line 3501 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDismissPet()

void Spell::EffectDismissPet ( )

Definition at line 3582 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDispel()

void Spell::EffectDispel ( )

Definition at line 2137 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDispelMechanic()

void Spell::EffectDispelMechanic ( )

Definition at line 4232 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDistract()

void Spell::EffectDistract ( )

Definition at line 2249 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDualWield()

void Spell::EffectDualWield ( )

Definition at line 2241 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDuel()

void Spell::EffectDuel ( )

Definition at line 3254 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDummy()

void Spell::EffectDummy ( )

Definition at line 571 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDurabilityDamage()

void Spell::EffectDurabilityDamage ( )

Definition at line 4380 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectDurabilityDamagePCT()

void Spell::EffectDurabilityDamagePCT ( )

Definition at line 4409 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnableBattlePets()

void Spell::EffectEnableBattlePets ( )

Definition at line 5614 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnchantHeldItem()

void Spell::EffectEnchantHeldItem ( )

Definition at line 3453 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnchantItemPerm()

void Spell::EffectEnchantItemPerm ( )

Definition at line 2424 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnchantItemPrismatic()

void Spell::EffectEnchantItemPrismatic ( )

Definition at line 2489 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnchantItemTmp()

void Spell::EffectEnchantItemTmp ( )

Definition at line 2553 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnergize()

void Spell::EffectEnergize ( )

Definition at line 1574 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnergizePct()

void Spell::EffectEnergizePct ( )

Definition at line 1619 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEnvironmentalDMG()

void Spell::EffectEnvironmentalDMG ( )

Definition at line 512 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectEquipTransmogOutfit()

void Spell::EffectEquipTransmogOutfit ( )

Definition at line 6348 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectFeedPet()

void Spell::EffectFeedPet ( )
Todo:
fix crash when a spell has two effects, both pointed at the same item target

Definition at line 3539 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectForceCast()

void Spell::EffectForceCast ( )

Definition at line 791 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectForceCast2()

void Spell::EffectForceCast2 ( )

Definition at line 851 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectForceDeselect()

void Spell::EffectForceDeselect ( )

Definition at line 3791 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGameObjectDamage()

void Spell::EffectGameObjectDamage ( )

Definition at line 4972 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGameObjectRepair()

void Spell::EffectGameObjectRepair ( )

Definition at line 4987 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGameObjectSetDestructionState()

void Spell::EffectGameObjectSetDestructionState ( )

Definition at line 4998 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGiveArtifactPower()

void Spell::EffectGiveArtifactPower ( )

Definition at line 5757 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGiveArtifactPowerNoBonus()

void Spell::EffectGiveArtifactPowerNoBonus ( )

Definition at line 5771 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGiveCurrency()

void Spell::EffectGiveCurrency ( )

Definition at line 5170 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGiveExperience()

void Spell::EffectGiveExperience ( )

Definition at line 5576 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGiveHonor()

void Spell::EffectGiveHonor ( )

Definition at line 5861 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGiveRestedExperience()

void Spell::EffectGiveRestedExperience ( )

Definition at line 5589 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGrantBattlePetExperience()

void Spell::EffectGrantBattlePetExperience ( )

Definition at line 6091 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectGrantBattlePetLevel()

void Spell::EffectGrantBattlePetLevel ( )

Definition at line 5561 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectHeal()

void Spell::EffectHeal ( )
Todo:
: move this to scripts

Definition at line 1246 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectHealBattlePetPct()

void Spell::EffectHealBattlePetPct ( )

Definition at line 5602 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectHealMaxHealth()

void Spell::EffectHealMaxHealth ( )

Definition at line 2970 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectHealMechanical()

void Spell::EffectHealMechanical ( )

Definition at line 1312 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectHealPct()

void Spell::EffectHealPct ( )

Definition at line 1294 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectHealthLeech()

void Spell::EffectHealthLeech ( )

Definition at line 1332 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectIncreaseCurrencyCap()

void Spell::EffectIncreaseCurrencyCap ( )

Definition at line 5288 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectInebriate()

void Spell::EffectInebriate ( )

Definition at line 3519 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectInstaKill()

void Spell::EffectInstaKill ( )

Definition at line 488 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectInterruptCast()

void Spell::EffectInterruptCast ( )
Todo:
not all spells that used this effect apply cooldown at school spells

Definition at line 2993 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectJump()

void Spell::EffectJump ( )

Definition at line 917 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectJumpCharge()

void Spell::EffectJumpCharge ( )

Definition at line 5880 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectJumpDest()

void Spell::EffectJumpDest ( )

Definition at line 951 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectKillCredit()

void Spell::EffectKillCredit ( )

Definition at line 4845 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectKillCreditLabel()

void Spell::EffectKillCreditLabel ( )

Definition at line 4857 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectKillCreditPersonal()

void Spell::EffectKillCreditPersonal ( )

Definition at line 4834 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectKnockBack()

void Spell::EffectKnockBack ( )

Definition at line 4033 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLaunchQuestChoice()

void Spell::EffectLaunchQuestChoice ( )

Definition at line 5648 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLeap()

void Spell::EffectLeap ( )

Definition at line 3717 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLeapBack()

void Spell::EffectLeapBack ( )

Definition at line 4073 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLearnAzeriteEssencePower()

void Spell::EffectLearnAzeriteEssencePower ( )

Definition at line 5978 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLearnGarrisonBuilding()

void Spell::EffectLearnGarrisonBuilding ( )

Definition at line 5451 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLearnPetSpell()

void Spell::EffectLearnPetSpell ( )

Definition at line 2750 of file SpellEffects.cpp.

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

◆ EffectLearnSkill()

void Spell::EffectLearnSkill ( )

Definition at line 2366 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLearnSpell()

void Spell::EffectLearnSpell ( )

Definition at line 2091 of file SpellEffects.cpp.

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

◆ EffectLearnTransmogIllusion()

void Spell::EffectLearnTransmogIllusion ( )

Definition at line 6106 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLearnTransmogSet()

void Spell::EffectLearnTransmogSet ( )

Definition at line 5939 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectLearnWarbandScene()

void Spell::EffectLearnWarbandScene ( )

Definition at line 6288 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectMilling()

void Spell::EffectMilling ( )

Definition at line 4610 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectModifyAuraStacks()

void Spell::EffectModifyAuraStacks ( )

Definition at line 6122 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectModifyCooldown()

void Spell::EffectModifyCooldown ( )

Definition at line 6144 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectModifyCooldowns()

void Spell::EffectModifyCooldowns ( )

Definition at line 6152 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectModifyCooldownsByCategory()

void Spell::EffectModifyCooldownsByCategory ( )

Definition at line 6171 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectModifySpellCharges()

void Spell::EffectModifySpellCharges ( )

Definition at line 6182 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectModifyThreatPercent()

void Spell::EffectModifyThreatPercent ( )

Definition at line 4438 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectNULL()

void Spell::EffectNULL ( )

Definition at line 450 of file SpellEffects.cpp.

◆ EffectOpenLock()

void Spell::EffectOpenLock ( )
Todo:
Add script for spell 41920 - Filling, becouse server it freze when use this spell

Definition at line 1643 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectParry()

void Spell::EffectParry ( )

Definition at line 3699 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPersistentAA()

void Spell::EffectPersistentAA ( )

Definition at line 1516 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPickPocket()

void Spell::EffectPickPocket ( )

Definition at line 2265 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPlayMovie()

void Spell::EffectPlayMovie ( )

Definition at line 2397 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPlayMusic()

void Spell::EffectPlayMusic ( )

Definition at line 5078 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPlayScene()

void Spell::EffectPlayScene ( )

Definition at line 5850 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPlaySceneScriptPackage()

void Spell::EffectPlaySceneScriptPackage ( )

Definition at line 5784 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPlaySound()

void Spell::EffectPlaySound ( )

Definition at line 5116 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPowerBurn()

void Spell::EffectPowerBurn ( )

Definition at line 1220 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPowerDrain()

void Spell::EffectPowerDrain ( )

Definition at line 1146 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectProficiency()

void Spell::EffectProficiency ( )

Definition at line 1849 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectProspecting()

void Spell::EffectProspecting ( )

Definition at line 4583 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPullTowards()

void Spell::EffectPullTowards ( )

Definition at line 4147 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectPullTowardsDest()

void Spell::EffectPullTowardsDest ( )

Definition at line 4177 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectQuestClear()

void Spell::EffectQuestClear ( )

Definition at line 4092 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectQuestComplete()

void Spell::EffectQuestComplete ( )

Definition at line 3761 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectQuestFail()

void Spell::EffectQuestFail ( )

Definition at line 4869 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectQuestStart()

void Spell::EffectQuestStart ( )

Definition at line 4880 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRechargeItem()

void Spell::EffectRechargeItem ( )

Definition at line 5226 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRedirectThreat()

void Spell::EffectRedirectThreat ( )

Definition at line 4959 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRemoveAura()

void Spell::EffectRemoveAura ( )

Definition at line 5148 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRemoveAuraBySpellLabel()

void Spell::EffectRemoveAuraBySpellLabel ( )

Definition at line 5463 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRemoveTalent()

void Spell::EffectRemoveTalent ( )

Definition at line 5421 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRenamePet()

void Spell::EffectRenamePet ( )

Definition at line 5066 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectReputation()

void Spell::EffectReputation ( )

Definition at line 3738 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectRespecAzeriteEmpoweredItem()

void Spell::EffectRespecAzeriteEmpoweredItem ( )

Definition at line 5950 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectResurrect()

void Spell::EffectResurrect ( )

Definition at line 3654 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectResurrectNew()

void Spell::EffectResurrectNew ( )

Definition at line 460 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectResurrectPet()

void Spell::EffectResurrectPet ( )

Definition at line 4267 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectResurrectWithAura()

void Spell::EffectResurrectWithAura ( )

Definition at line 5374 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSanctuary()

void Spell::EffectSanctuary ( )

Definition at line 3223 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSchoolDMG()

void Spell::EffectSchoolDMG ( )

Definition at line 541 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectScriptEffect()

void Spell::EffectScriptEffect ( )
Todo:
we must implement hunter pet summon at login there (spell 6962)
Todo:
Todo:
: move this to scripts
Todo:
a hack, range = 11, should after some time cast, otherwise too far

Definition at line 3073 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSelfResurrect()

void Spell::EffectSelfResurrect ( )

Definition at line 3826 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSendChatMessage()

void Spell::EffectSendChatMessage ( )

Definition at line 6074 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSendEvent()

void Spell::EffectSendEvent ( )
Todo:
there should be a possibility to pass dest target to event script

Definition at line 1182 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSendTaxi()

void Spell::EffectSendTaxi ( )

Definition at line 4136 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSetPlayerDataElementAccount()

void Spell::EffectSetPlayerDataElementAccount ( )

Definition at line 6300 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSetPlayerDataElementCharacter()

void Spell::EffectSetPlayerDataElementCharacter ( )

Definition at line 6312 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSetPlayerDataFlagAccount()

void Spell::EffectSetPlayerDataFlagAccount ( )

Definition at line 6324 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSetPlayerDataFlagCharacter()

void Spell::EffectSetPlayerDataFlagCharacter ( )

Definition at line 6336 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSkill()

void Spell::EffectSkill ( )

Definition at line 4637 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSkinning()

void Spell::EffectSkinning ( )

Definition at line 3863 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSkinPlayerCorpse()

void Spell::EffectSkinPlayerCorpse ( )

Definition at line 4697 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSkipCampaign()

void Spell::EffectSkipCampaign ( )

Definition at line 6062 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSkipQuestLine()

void Spell::EffectSkipQuestLine ( )

Definition at line 6276 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSpiritHeal()

void Spell::EffectSpiritHeal ( )

Definition at line 4671 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectStealBeneficialBuff()

void Spell::EffectStealBeneficialBuff ( )

Definition at line 4718 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectStuck()

void Spell::EffectStuck ( )

Definition at line 3334 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonChangeItem()

void Spell::EffectSummonChangeItem ( )

Definition at line 1735 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonObject()

void Spell::EffectSummonObject ( )

Definition at line 3596 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonObjectWild()

void Spell::EffectSummonObjectWild ( )

Definition at line 3025 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonPersonalGameObject()

void Spell::EffectSummonPersonalGameObject ( )

Definition at line 5322 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonPet()

void Spell::EffectSummonPet ( )

Definition at line 2660 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonPlayer()

void Spell::EffectSummonPlayer ( )

Definition at line 3378 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonRaFFriend()

void Spell::EffectSummonRaFFriend ( )

Definition at line 5300 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectSummonType()

void Spell::EffectSummonType ( )

Definition at line 1871 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTameCreature()

void Spell::EffectTameCreature ( )

Definition at line 2605 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTaunt()

void Spell::EffectTaunt ( )

Definition at line 2776 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTeleportGraveyard()

void Spell::EffectTeleportGraveyard ( )

Definition at line 6252 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTeleportToReturnPoint()

void Spell::EffectTeleportToReturnPoint ( )

Definition at line 5278 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTeleportUnits()

void Spell::EffectTeleportUnits ( )

Definition at line 1003 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTeleportUnitsWithVisualLoadingScreen()

void Spell::EffectTeleportUnitsWithVisualLoadingScreen ( )

Definition at line 1076 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTeleUnitsFaceCaster()

void Spell::EffectTeleUnitsFaceCaster ( )

Definition at line 2339 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectThreat()

void Spell::EffectThreat ( )

Definition at line 2952 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTitanGrip()

void Spell::EffectTitanGrip ( )

Definition at line 4950 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTradeSkill()

void Spell::EffectTradeSkill ( )

Definition at line 2412 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTransmitted()

void Spell::EffectTransmitted ( )

Definition at line 4450 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTriggerMissileSpell()

void Spell::EffectTriggerMissileSpell ( )

Definition at line 725 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTriggerRitualOfSummoning()

void Spell::EffectTriggerRitualOfSummoning ( )

Definition at line 891 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectTriggerSpell()

void Spell::EffectTriggerSpell ( )
Todo:
move those to spell scripts

Definition at line 594 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUncageBattlePet()

void Spell::EffectUncageBattlePet ( )

Definition at line 5659 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUnlearnSpecialization()

void Spell::EffectUnlearnSpecialization ( )

Definition at line 1130 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUnlockGuildVaultTab()

void Spell::EffectUnlockGuildVaultTab ( )

Definition at line 5311 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUntrainTalents()

void Spell::EffectUntrainTalents ( )

Definition at line 2328 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUnused()

void Spell::EffectUnused ( )

Definition at line 455 of file SpellEffects.cpp.

◆ EffectUpdateInteractions()

void Spell::EffectUpdateInteractions ( )

Definition at line 6264 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUpdatePlayerPhase()

void Spell::EffectUpdatePlayerPhase ( )

Definition at line 5735 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUpdateZoneAurasAndPhases()

void Spell::EffectUpdateZoneAurasAndPhases ( )

Definition at line 5746 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectUpgradeHeirloom()

void Spell::EffectUpgradeHeirloom ( )

Definition at line 5704 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ EffectWeaponDmg()

void Spell::EffectWeaponDmg ( )

Definition at line 2816 of file SpellEffects.cpp.

+ Here is the call graph for this function:

◆ ExecuteLogEffectCreateItem()

void Spell::ExecuteLogEffectCreateItem ( SpellEffectName  effect,
uint32  entry 
)

Definition at line 5195 of file Spell.cpp.

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

◆ ExecuteLogEffectDestroyItem()

void Spell::ExecuteLogEffectDestroyItem ( SpellEffectName  effect,
uint32  entry 
)

Definition at line 5203 of file Spell.cpp.

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

◆ ExecuteLogEffectDurabilityDamage()

void Spell::ExecuteLogEffectDurabilityDamage ( SpellEffectName  effect,
Unit victim,
int32  itemId,
int32  amount 
)

Definition at line 5177 of file Spell.cpp.

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

◆ ExecuteLogEffectExtraAttacks()

void Spell::ExecuteLogEffectExtraAttacks ( SpellEffectName  effect,
Unit victim,
uint32  numAttacks 
)

Definition at line 5157 of file Spell.cpp.

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

◆ ExecuteLogEffectOpenLock()

void Spell::ExecuteLogEffectOpenLock ( SpellEffectName  effect,
Object obj 
)

Definition at line 5187 of file Spell.cpp.

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

◆ ExecuteLogEffectResurrect()

void Spell::ExecuteLogEffectResurrect ( SpellEffectName  effect,
Unit target 
)

Definition at line 5227 of file Spell.cpp.

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

◆ ExecuteLogEffectSummonObject()

void Spell::ExecuteLogEffectSummonObject ( SpellEffectName  effect,
WorldObject obj 
)

Definition at line 5211 of file Spell.cpp.

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

◆ ExecuteLogEffectTakeTargetPower()

void Spell::ExecuteLogEffectTakeTargetPower ( SpellEffectName  effect,
Unit target,
Powers  powerType,
uint32  points,
float  amplitude 
)

Definition at line 5145 of file Spell.cpp.

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

◆ ExecuteLogEffectUnsummonObject()

void Spell::ExecuteLogEffectUnsummonObject ( SpellEffectName  effect,
WorldObject obj 
)

Definition at line 5219 of file Spell.cpp.

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

◆ ExtractSpellFromEvent()

Spell const * Spell::ExtractSpellFromEvent ( BasicEvent event)
static

Definition at line 5791 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ FinalizeDataForTriggerSystem()

std::pair< ProcFlagsInit, ProcFlagsInit > Spell::FinalizeDataForTriggerSystem ( bool  positive) const
protected

Definition at line 2372 of file Spell.cpp.

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

◆ finish()

void Spell::finish ( SpellCastResult  result = SPELL_CAST_OK)

Definition at line 4342 of file Spell.cpp.

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

◆ FinishTargetProcessing()

void Spell::FinishTargetProcessing ( )
protected

Definition at line 8834 of file Spell.cpp.

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

◆ GetCastDifficulty()

Difficulty Spell::GetCastDifficulty ( ) const

Definition at line 8233 of file Spell.cpp.

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

◆ GetCaster()

WorldObject * Spell::GetCaster ( ) const
inline

Definition at line 699 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetCastTime()

int32 Spell::GetCastTime ( ) const
inline

Definition at line 659 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetChannelDuration()

int32 Spell::GetChannelDuration ( ) const
inline

Definition at line 661 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetCorpseTargetCountForEffect()

int64 Spell::GetCorpseTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 2724 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ GetCurrentContainer()

CurrentSpellTypes Spell::GetCurrentContainer ( ) const

Definition at line 8221 of file Spell.cpp.

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

◆ GetDebugInfo()

std::string Spell::GetDebugInfo ( ) const

Definition at line 9306 of file Spell.cpp.

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

◆ GetDelayMoment()

uint64 Spell::GetDelayMoment ( ) const
inline

Definition at line 687 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetDelayStart()

uint64 Spell::GetDelayStart ( ) const
inline

Definition at line 685 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetEffectValueAsInt()

int32 Spell::GetEffectValueAsInt ( ) const
inlineprotected

Definition at line 803 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetExecuteLogEffect()

SpellLogEffect & Spell::GetExecuteLogEffect ( SpellEffectName  effect)

Definition at line 5131 of file Spell.cpp.

◆ GetExecuteLogEffectTargets()

template<typename T >
std::vector< T > & Spell::GetExecuteLogEffectTargets ( SpellEffectName  effect,
Optional< std::vector< T > > SpellLogEffect::*  member 
)
inline

Definition at line 572 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetGameObjectTargetCountForEffect()

int64 Spell::GetGameObjectTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 2708 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ GetItemTargetCountForEffect()

int64 Spell::GetItemTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 2716 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ GetMinMaxRange()

SpellRange Spell::GetMinMaxRange ( bool  strict) const

Definition at line 7399 of file Spell.cpp.

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

◆ GetOriginalCaster()

Unit * Spell::GetOriginalCaster ( ) const
inline

Definition at line 701 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetOriginalCasterGUID()

ObjectGuid Spell::GetOriginalCasterGUID ( ) const
inline

Definition at line 700 of file Spell.h.

◆ GetPowerCost()

std::vector< SpellPowerCost > const & Spell::GetPowerCost ( ) const
inline

Definition at line 704 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetPowerTypeCostAmount()

Optional< int32 > Spell::GetPowerTypeCostAmount ( Powers  power) const

Definition at line 8157 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ GetProcChainLength()

int32 Spell::GetProcChainLength ( ) const
inline

Definition at line 679 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetRemainingCastTime()

int32 Spell::GetRemainingCastTime ( ) const
inline

Definition at line 660 of file Spell.h.

◆ GetRuneState()

uint8 Spell::GetRuneState ( ) const
inline

Definition at line 692 of file Spell.h.

◆ GetScript()

template<class Script >
Script * Spell::GetScript ( ) const
inline

Definition at line 951 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetScriptByType()

SpellScript * Spell::GetScriptByType ( std::type_info const &  type) const
protected

Definition at line 9167 of file Spell.cpp.

◆ GetSearcherTypeMask()

uint32 Spell::GetSearcherTypeMask ( SpellInfo const *  spellInfo,
SpellEffectInfo const &  spellEffectInfo,
SpellTargetObjectTypes  objType,
ConditionContainer const *  condList 
)
static

Definition at line 2113 of file Spell.cpp.

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

◆ GetSpellCastDataAmmo()

int32 Spell::GetSpellCastDataAmmo ( )
protected

Definition at line 4961 of file Spell.cpp.

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

◆ GetSpellInfo()

SpellInfo const * Spell::GetSpellInfo ( ) const
inline

Definition at line 702 of file Spell.h.

+ Here is the caller graph for this function:

◆ getState()

SpellState Spell::getState ( ) const
inline

Definition at line 550 of file Spell.h.

+ Here is the caller graph for this function:

◆ GetTimer()

int32 Spell::GetTimer ( ) const
inline

Definition at line 718 of file Spell.h.

◆ GetTriggeredByAuraSpell()

SpellInfo const * Spell::GetTriggeredByAuraSpell ( ) const
inline

Definition at line 716 of file Spell.h.

◆ GetUnitCasterForEffectHandlers()

Unit * Spell::GetUnitCasterForEffectHandlers ( ) const
protected

Definition at line 8417 of file Spell.cpp.

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

◆ GetUnitTargetCountForEffect()

int64 Spell::GetUnitTargetCountForEffect ( SpellEffIndex  effect) const

Definition at line 2700 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ GetUnitTargetIndexForEffect()

int32 Spell::GetUnitTargetIndexForEffect ( ObjectGuid const &  target,
SpellEffIndex  effect 
) const
protected

Definition at line 2683 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ GetWeakPtr()

Trinity::unique_weak_ptr< Spell > Spell::GetWeakPtr ( ) const

Definition at line 9315 of file Spell.cpp.

+ Here is the call graph for this function:

◆ handle_delayed()

uint64 Spell::handle_delayed ( uint64  t_offset)

Definition at line 4067 of file Spell.cpp.

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

◆ handle_immediate()

void Spell::handle_immediate ( )

Definition at line 3977 of file Spell.cpp.

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

◆ HandleEffects()

void Spell::HandleEffects ( Unit pUnitTarget,
Item pItemTarget,
GameObject pGoTarget,
Corpse pCorpseTarget,
SpellEffectInfo const &  spellEffectInfo,
SpellEffectHandleMode  mode 
)

Definition at line 5773 of file Spell.cpp.

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

◆ HandleLaunchPhase()

void Spell::HandleLaunchPhase ( )
protected

Definition at line 8554 of file Spell.cpp.

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

◆ HandleThreatSpells()

void Spell::HandleThreatSpells ( )

Definition at line 5717 of file Spell.cpp.

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

◆ HasGlobalCooldown()

bool Spell::HasGlobalCooldown ( ) const
protected

Definition at line 9232 of file Spell.cpp.

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

◆ HasPowerTypeCost()

bool Spell::HasPowerTypeCost ( Powers  power) const

Definition at line 8152 of file Spell.cpp.

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

◆ InitExplicitTargets()

void Spell::InitExplicitTargets ( SpellCastTargets const &  targets)

Definition at line 621 of file Spell.cpp.

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

◆ IsAutoActionResetSpell()

bool Spell::IsAutoActionResetSpell ( ) const

Definition at line 8374 of file Spell.cpp.

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

◆ IsAutoRepeat()

bool Spell::IsAutoRepeat ( ) const
inline

Definition at line 662 of file Spell.h.

+ Here is the caller graph for this function:

◆ IsChannelActive()

bool Spell::IsChannelActive ( ) const

Definition at line 8369 of file Spell.cpp.

+ Here is the call graph for this function:

◆ IsDelayableNoMore()

bool Spell::IsDelayableNoMore ( )
inlineprotected

Definition at line 765 of file Spell.h.

+ Here is the caller graph for this function:

◆ IsDeletable()

bool Spell::IsDeletable ( ) const
inline

Definition at line 681 of file Spell.h.

+ Here is the caller graph for this function:

◆ IsEmpowerSpell()

bool Spell::IsEmpowerSpell ( ) const
inline

Definition at line 673 of file Spell.h.

+ Here is the caller graph for this function:

◆ IsFocusDisabled()

bool Spell::IsFocusDisabled ( ) const

Definition at line 8359 of file Spell.cpp.

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

◆ IsIgnoringCooldowns()

bool Spell::IsIgnoringCooldowns ( ) const

Definition at line 8354 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ IsInterruptable()

bool Spell::IsInterruptable ( ) const
inline

Definition at line 683 of file Spell.h.

+ Here is the caller graph for this function:

◆ IsNeedSendToClient()

bool Spell::IsNeedSendToClient ( ) const

Definition at line 8407 of file Spell.cpp.

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

◆ IsPositive()

bool Spell::IsPositive ( ) const

Definition at line 8385 of file Spell.cpp.

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

◆ IsProcDisabled()

bool Spell::IsProcDisabled ( ) const

Definition at line 8364 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ IsTriggered()

bool Spell::IsTriggered ( ) const

Definition at line 8348 of file Spell.cpp.

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

◆ IsTriggeredByAura()

bool Spell::IsTriggeredByAura ( SpellInfo const *  auraSpellInfo) const
inline

Definition at line 677 of file Spell.h.

+ Here is the caller graph for this function:

◆ IsValidDeadOrAliveTarget()

bool Spell::IsValidDeadOrAliveTarget ( Unit const *  target) const
protected

Definition at line 8545 of file Spell.cpp.

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

◆ IsWithinLOS() [1/2]

bool Spell::IsWithinLOS ( WorldObject const *  source,
Position const &  target,
VMAP::ModelIgnoreFlags  ignoreFlags 
) const

Definition at line 9336 of file Spell.cpp.

+ Here is the call graph for this function:

◆ IsWithinLOS() [2/2]

bool Spell::IsWithinLOS ( WorldObject const *  source,
WorldObject const *  target,
bool  targetAsSourceLocation,
VMAP::ModelIgnoreFlags  ignoreFlags 
) const

Definition at line 9320 of file Spell.cpp.

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

◆ LoadScripts()

void Spell::LoadScripts ( )
protected

Definition at line 8839 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ MovePosition()

void Spell::MovePosition ( Position pos,
WorldObject const *  from,
float  dist,
float  angle 
) const

Definition at line 9347 of file Spell.cpp.

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

◆ operator=()

Spell & Spell::operator= ( Spell const &  right)
protecteddelete

◆ prepare()

SpellCastResult Spell::prepare ( SpellCastTargets const &  targets,
AuraEffect const *  triggeredByAura = nullptr 
)

@todoApply this to all cast spells if needed

m_spellInfo->StartRecoveryTime &&

Definition at line 3419 of file Spell.cpp.

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

◆ prepareDataForTriggerSystem()

void Spell::prepareDataForTriggerSystem ( )
protected

Definition at line 2327 of file Spell.cpp.

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

◆ PrepareTargetProcessing()

void Spell::PrepareTargetProcessing ( )
protected

Definition at line 8830 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ PrepareTriggersExecutedOnHit()

void Spell::PrepareTriggersExecutedOnHit ( )
protected

Definition at line 9192 of file Spell.cpp.

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

◆ PreprocessSpellHit()

SpellMissInfo Spell::PreprocessSpellHit ( Unit unit,
TargetInfo targetInfo 
)
protected

Definition at line 3092 of file Spell.cpp.

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

◆ PreprocessSpellLaunch()

void Spell::PreprocessSpellLaunch ( TargetInfo targetInfo)
protected

Definition at line 8590 of file Spell.cpp.

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

◆ RecalculateDelayMomentForDst()

void Spell::RecalculateDelayMomentForDst ( )

Definition at line 856 of file Spell.cpp.

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

◆ RefundPower()

void Spell::RefundPower ( )

Definition at line 5560 of file Spell.cpp.

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

◆ RefundRunePower()

void Spell::RefundRunePower ( )

Definition at line 5653 of file Spell.cpp.

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

◆ ResetCombatTimers()

void Spell::ResetCombatTimers ( )
protected

Definition at line 8704 of file Spell.cpp.

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

◆ ReSetTimer()

void Spell::ReSetTimer ( )
inline

Definition at line 664 of file Spell.h.

+ Here is the caller graph for this function:

◆ SearchAreaTargets()

void Spell::SearchAreaTargets ( std::list< WorldObject * > &  targets,
SpellEffectInfo const &  spellEffectInfo,
SpellRange  range,
Position const *  position,
WorldObject referer,
SpellTargetObjectTypes  objectType,
SpellTargetCheckTypes  selectionType,
ConditionContainer const *  condList,
Trinity::WorldObjectSpellAreaTargetSearchReason  searchReason 
)

Definition at line 2195 of file Spell.cpp.

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

◆ SearchChainTargets()

void Spell::SearchChainTargets ( std::list< WorldObject * > &  targets,
uint32  chainTargets,
WorldObject target,
SpellTargetObjectTypes  objectType,
SpellTargetCheckTypes  selectType,
SpellEffectInfo const &  spellEffectInfo,
bool  isChainHeal 
)

Definition at line 2209 of file Spell.cpp.

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

◆ SearchNearbyTarget()

WorldObject * Spell::SearchNearbyTarget ( SpellEffectInfo const &  spellEffectInfo,
float  range,
SpellTargetObjectTypes  objectType,
SpellTargetCheckTypes  selectionType,
ConditionContainer const *  condList = nullptr 
)

Definition at line 2182 of file Spell.cpp.

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

◆ SearchSpellFocus()

GameObject * Spell::SearchSpellFocus ( )

Definition at line 2318 of file Spell.cpp.

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

◆ SearchTargets()

template<class SEARCHER >
void Spell::SearchTargets ( SEARCHER &  searcher,
uint32  containerMask,
WorldObject referer,
Position const *  pos,
float  radius 
)
static

Definition at line 2151 of file Spell.cpp.

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

◆ SelectEffectImplicitTargets()

void Spell::SelectEffectImplicitTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex,
uint32 processedEffectMask 
)

Definition at line 896 of file Spell.cpp.

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

◆ SelectEffectTypeImplicitTargets()

void Spell::SelectEffectTypeImplicitTargets ( SpellEffectInfo const &  spellEffectInfo)

Definition at line 2013 of file Spell.cpp.

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

◆ SelectExplicitTargets()

void Spell::SelectExplicitTargets ( )

Definition at line 691 of file Spell.cpp.

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

◆ SelectImplicitAreaTargets()

void Spell::SelectImplicitAreaTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex,
uint32  effMask 
)

Definition at line 1314 of file Spell.cpp.

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

◆ SelectImplicitCasterDestTargets()

void Spell::SelectImplicitCasterDestTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex 
)
Todo:
fix this check

Definition at line 1453 of file Spell.cpp.

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

◆ SelectImplicitCasterObjectTargets()

void Spell::SelectImplicitCasterObjectTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType 
)

Definition at line 1730 of file Spell.cpp.

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

◆ SelectImplicitChainTargets()

void Spell::SelectImplicitChainTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
WorldObject target,
uint32  effMask 
)

Definition at line 1820 of file Spell.cpp.

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

◆ SelectImplicitChannelTargets()

void Spell::SelectImplicitChannelTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType 
)

Definition at line 1016 of file Spell.cpp.

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

◆ SelectImplicitConeTargets()

void Spell::SelectImplicitConeTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex,
uint32  effMask 
)

Definition at line 1261 of file Spell.cpp.

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

◆ SelectImplicitDestDestTargets()

void Spell::SelectImplicitDestDestTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex 
)

Definition at line 1678 of file Spell.cpp.

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

◆ SelectImplicitLineTargets()

void Spell::SelectImplicitLineTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex,
uint32  effMask 
)

Definition at line 1952 of file Spell.cpp.

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

◆ SelectImplicitNearbyTargets()

void Spell::SelectImplicitNearbyTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex,
uint32  effMask 
)

Definition at line 1077 of file Spell.cpp.

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

◆ SelectImplicitTargetDestTargets()

void Spell::SelectImplicitTargetDestTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType,
SpellTargetIndex  targetIndex 
)

Definition at line 1641 of file Spell.cpp.

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

◆ SelectImplicitTargetObjectTargets()

void Spell::SelectImplicitTargetObjectTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType 
)

Definition at line 1795 of file Spell.cpp.

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

◆ SelectImplicitTrajTargets()

void Spell::SelectImplicitTrajTargets ( SpellEffectInfo const &  spellEffectInfo,
SpellImplicitTargetInfo const &  targetType 
)

Definition at line 1866 of file Spell.cpp.

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

◆ SelectSpellTargets()

void Spell::SelectSpellTargets ( )

Definition at line 720 of file Spell.cpp.

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

◆ SendCastResult() [1/2]

void Spell::SendCastResult ( Player caster,
SpellInfo const *  spellInfo,
SpellCastVisual  spellVisual,
ObjectGuid  cast_count,
SpellCastResult  result,
SpellCustomErrors  customError = SPELL_CUSTOM_ERROR_NONE,
int32 param1 = nullptr,
int32 param2 = nullptr 
)
static

Definition at line 4699 of file Spell.cpp.

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

◆ SendCastResult() [2/2]

void Spell::SendCastResult ( SpellCastResult  result,
int32 param1 = nullptr,
int32 param2 = nullptr 
) const

Definition at line 4657 of file Spell.cpp.

+ Here is the call graph for this function:

◆ SendChannelStart()

void Spell::SendChannelStart ( uint32  duration)

Definition at line 5294 of file Spell.cpp.

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

◆ SendChannelUpdate()

void Spell::SendChannelUpdate ( uint32  time,
Optional< SpellCastResult result = {} 
)

Definition at line 5254 of file Spell.cpp.

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

◆ SendInterrupted()

void Spell::SendInterrupted ( uint8  result)

Definition at line 5235 of file Spell.cpp.

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

◆ SendMountResult()

void Spell::SendMountResult ( MountResult  result)

Definition at line 4710 of file Spell.cpp.

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

◆ SendPetCastResult()

void Spell::SendPetCastResult ( SpellCastResult  result,
int32 param1 = nullptr,
int32 param2 = nullptr 
) const

Definition at line 4682 of file Spell.cpp.

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

◆ SendResurrectRequest()

void Spell::SendResurrectRequest ( Player target)

Definition at line 5403 of file Spell.cpp.

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

◆ SendSpellCooldown()

void Spell::SendSpellCooldown ( )

Definition at line 4209 of file Spell.cpp.

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

◆ SendSpellExecuteLog()

void Spell::SendSpellExecuteLog ( )

Definition at line 5115 of file Spell.cpp.

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

◆ SendSpellGo()

void Spell::SendSpellGo ( )

Definition at line 4834 of file Spell.cpp.

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

◆ SendSpellInterruptLog()

void Spell::SendSpellInterruptLog ( Unit victim,
uint32  spellId 
)

Definition at line 5166 of file Spell.cpp.

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

◆ SendSpellStart()

void Spell::SendSpellStart ( )

Definition at line 4727 of file Spell.cpp.

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

◆ SetAutoRepeat()

void Spell::SetAutoRepeat ( bool  rep)
inline

Definition at line 663 of file Spell.h.

◆ SetDelayStart()

void Spell::SetDelayStart ( uint64  m_time)
inline

Definition at line 686 of file Spell.h.

+ Here is the caller graph for this function:

◆ SetEmpowerReleasedByClient()

void Spell::SetEmpowerReleasedByClient ( bool  release)

Definition at line 8390 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ SetExecutedCurrently()

void Spell::SetExecutedCurrently ( bool  yes)
inline

Definition at line 684 of file Spell.h.

+ Here is the caller graph for this function:

◆ SetReferencedFromCurrent()

void Spell::SetReferencedFromCurrent ( bool  yes)
inline

Definition at line 682 of file Spell.h.

+ Here is the caller graph for this function:

◆ SetRuneState()

void Spell::SetRuneState ( uint8  value)
inline

Definition at line 693 of file Spell.h.

◆ SetSpellValue()

void Spell::SetSpellValue ( CastSpellExtraArgsInit::SpellValueOverride const &  value)

Definition at line 8790 of file Spell.cpp.

+ Here is the caller graph for this function:

◆ setState()

void Spell::setState ( SpellState  state)
inline

Definition at line 551 of file Spell.h.

◆ SummonGuardian()

void Spell::SummonGuardian ( SpellEffectInfo const *  effect,
uint32  entry,
SummonPropertiesEntry const *  properties,
uint32  numSummons,
ObjectGuid  privateObjectOwner 
)
protected

Definition at line 5009 of file SpellEffects.cpp.

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

◆ TakeCastItem()

void Spell::TakeCastItem ( )

Definition at line 5429 of file Spell.cpp.

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

◆ TakePower()

void Spell::TakePower ( )

Definition at line 5498 of file Spell.cpp.

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

◆ TakeReagents()

void Spell::TakeReagents ( )

Definition at line 5666 of file Spell.cpp.

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

◆ TakeRunePower()

void Spell::TakeRunePower ( bool  didHit)

Definition at line 5627 of file Spell.cpp.

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

◆ TriggerGlobalCooldown()

void Spell::TriggerGlobalCooldown ( )
protected

Definition at line 9240 of file Spell.cpp.

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

◆ update()

void Spell::update ( uint32  difftime)

Definition at line 4223 of file Spell.cpp.

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

◆ UpdateChanneledTargetList()

bool Spell::UpdateChanneledTargetList ( )
protected

Definition at line 3350 of file Spell.cpp.

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

◆ UpdateDelayMomentForDst()

void Spell::UpdateDelayMomentForDst ( uint64  hitDelay)

Definition at line 861 of file Spell.cpp.

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

◆ UpdateDelayMomentForUnitTarget()

void Spell::UpdateDelayMomentForUnitTarget ( Unit unit,
uint64  hitDelay 
)

Definition at line 869 of file Spell.cpp.

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

◆ UpdatePointers()

bool Spell::UpdatePointers ( )

Definition at line 8166 of file Spell.cpp.

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

◆ UpdateSpellCastDataTargets()

void Spell::UpdateSpellCastDataTargets ( WorldPackets::Spells::SpellCastData data)
protected

Writes miss and hit targets for a SMSG_SPELL_GO packet.

Definition at line 4926 of file Spell.cpp.

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

◆ UpdateSpellHealPrediction()

void Spell::UpdateSpellHealPrediction ( WorldPackets::Spells::SpellHealPrediction healPrediction,
bool  withPeriodic 
)
protected

Definition at line 5083 of file Spell.cpp.

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

Friends And Related Symbol Documentation

◆ SpellScript

friend class SpellScript
friend

Definition at line 278 of file Spell.h.

Member Data Documentation

◆ _dynObjAura

DynObjAura* Spell::_dynObjAura
protected

Definition at line 811 of file Spell.h.

◆ _executeLogEffects

std::vector<SpellLogEffect> Spell::_executeLogEffects
protected

Definition at line 1002 of file Spell.h.

◆ _spellAura

UnitAura* Spell::_spellAura
protected

Definition at line 810 of file Spell.h.

◆ _spellEvent

SpellEvent* Spell::_spellEvent
protected

Definition at line 991 of file Spell.h.

◆ _triggeredCastFlags

TriggerCastFlags Spell::_triggeredCastFlags
protected

Definition at line 992 of file Spell.h.

◆ AbilityId

uint32 Spell::AbilityId

Definition at line 627 of file Spell.h.

◆ Data

uint32 Spell::Data[3]

Definition at line 646 of file Spell.h.

◆ destTarget

WorldLocation* Spell::destTarget
protected

Definition at line 801 of file Spell.h.

◆ effectHandleMode

SpellEffectHandleMode Spell::effectHandleMode
protected

Definition at line 806 of file Spell.h.

◆ effectInfo

SpellEffectInfo const* Spell::effectInfo
protected

Definition at line 807 of file Spell.h.

◆ effectValue

SpellEffectValue Spell::effectValue
protected

Definition at line 802 of file Spell.h.

◆ EquipAction

uint32 Spell::EquipAction

Definition at line 639 of file Spell.h.

◆ [struct]

struct { ... } Spell::EquipTransmogOutfit

◆ focusObject

GameObject* Spell::focusObject
protected

Definition at line 814 of file Spell.h.

◆ gameObjTarget

GameObject* Spell::gameObjTarget
protected

Definition at line 799 of file Spell.h.

◆ [struct]

struct { ... } Spell::GarrFollower

◆ GarrMissionId

uint32 Spell::GarrMissionId

Definition at line 631 of file Spell.h.

◆ Id

uint32 Spell::Id

Definition at line 626 of file Spell.h.

◆ ItemId

uint32 Spell::ItemId

Definition at line 634 of file Spell.h.

◆ itemTarget

Item* Spell::itemTarget
protected

Definition at line 798 of file Spell.h.

◆ m_appliedMods

UsedSpellMods Spell::m_appliedMods

Definition at line 654 of file Spell.h.

◆ m_applyMultiplierMask

uint32 Spell::m_applyMultiplierMask
protected

Definition at line 793 of file Spell.h.

◆ m_attackType

WeaponAttackType Spell::m_attackType
protected

Definition at line 755 of file Spell.h.

◆ m_autoRepeat

bool Spell::m_autoRepeat
protected

Definition at line 761 of file Spell.h.

◆ m_canReflect

bool Spell::m_canReflect
protected

Definition at line 760 of file Spell.h.

◆ m_caster

WorldObject* const Spell::m_caster
protected

Definition at line 745 of file Spell.h.

◆ m_castFlagsEx

uint32 Spell::m_castFlagsEx

Definition at line 607 of file Spell.h.

◆ m_castId

ObjectGuid Spell::m_castId

Definition at line 604 of file Spell.h.

◆ m_CastItem

Item* Spell::m_CastItem

Definition at line 600 of file Spell.h.

◆ m_castItemEntry

uint32 Spell::m_castItemEntry

Definition at line 602 of file Spell.h.

◆ m_castItemGUID

ObjectGuid Spell::m_castItemGUID

Definition at line 601 of file Spell.h.

◆ m_castItemLevel

int32 Spell::m_castItemLevel

Definition at line 603 of file Spell.h.

◆ m_casttime

int32 Spell::m_casttime
protected

Definition at line 758 of file Spell.h.

◆ m_channelDuration

int32 Spell::m_channelDuration
protected

Definition at line 759 of file Spell.h.

◆ m_channelTargetEffectMask

uint32 Spell::m_channelTargetEffectMask
protected

Definition at line 878 of file Spell.h.

◆ m_corpseTarget

Corpse* Spell::m_corpseTarget
protected

Definition at line 800 of file Spell.h.

◆ m_customArg

std::any Spell::m_customArg

Definition at line 649 of file Spell.h.

◆ m_customError

SpellCustomErrors Spell::m_customError

Definition at line 652 of file Spell.h.

◆ m_damage

int32 Spell::m_damage
protected

Definition at line 817 of file Spell.h.

◆ m_damageMultipliers

float Spell::m_damageMultipliers[MAX_SPELL_EFFECTS]
protected

Definition at line 794 of file Spell.h.

◆ m_delayAtDamageCount

uint8 Spell::m_delayAtDamageCount
protected

Definition at line 764 of file Spell.h.

◆ m_delayMoment

uint64 Spell::m_delayMoment
protected

Definition at line 786 of file Spell.h.

◆ m_delayStart

uint64 Spell::m_delayStart
protected

Definition at line 785 of file Spell.h.

◆ m_destTargets

SpellDestination Spell::m_destTargets[MAX_SPELL_EFFECTS]
protected

Definition at line 909 of file Spell.h.

◆ m_empower

std::unique_ptr<EmpowerData> Spell::m_empower
protected

Definition at line 782 of file Spell.h.

◆ m_executedCurrently

bool Spell::m_executedCurrently
protected

Definition at line 792 of file Spell.h.

◆ m_fromClient

bool Spell::m_fromClient

Definition at line 606 of file Spell.h.

◆ m_healing

int32 Spell::m_healing
protected

Definition at line 818 of file Spell.h.

◆ m_hitMask

ProcFlagsHit Spell::m_hitMask
protected

Definition at line 825 of file Spell.h.

◆ m_hitTriggerSpells

HitTriggerSpellList Spell::m_hitTriggerSpells
protected

Definition at line 976 of file Spell.h.

◆ m_immediateHandled

bool Spell::m_immediateHandled
protected

Definition at line 788 of file Spell.h.

◆ m_launchHandled

bool Spell::m_launchHandled
protected

Definition at line 787 of file Spell.h.

◆ m_loadedScripts

std::vector<SpellScript*> Spell::m_loadedScripts
protected

Definition at line 960 of file Spell.h.

◆ [union]

union { ... } Spell::m_misc

◆ m_originalCaster

Unit* Spell::m_originalCaster
protected

Definition at line 751 of file Spell.h.

◆ m_originalCasterGUID

ObjectGuid Spell::m_originalCasterGUID
protected

Definition at line 749 of file Spell.h.

◆ m_originalCastId

ObjectGuid Spell::m_originalCastId

Definition at line 605 of file Spell.h.

◆ m_powerCost

std::vector<SpellPowerCost> Spell::m_powerCost
protected

Definition at line 757 of file Spell.h.

◆ m_preGeneratedPath

std::unique_ptr<PathGenerator> Spell::m_preGeneratedPath
protected

Definition at line 1000 of file Spell.h.

◆ m_procAttacker

ProcFlagsInit Spell::m_procAttacker
protected

Definition at line 823 of file Spell.h.

◆ m_procChainLength

int32 Spell::m_procChainLength
protected

Definition at line 998 of file Spell.h.

◆ m_procSpellType

ProcFlagsSpellType Spell::m_procSpellType
protected

Definition at line 826 of file Spell.h.

◆ m_procVictim

ProcFlagsInit Spell::m_procVictim
protected

Definition at line 824 of file Spell.h.

◆ m_referencedFromCurrentSpell

bool Spell::m_referencedFromCurrentSpell
protected

Definition at line 791 of file Spell.h.

◆ m_runesState

uint8 Spell::m_runesState
protected

Definition at line 762 of file Spell.h.

◆ m_scriptResult

Definition at line 656 of file Spell.h.

◆ m_scriptWaitsForSpellHit

bool Spell::m_scriptWaitsForSpellHit = false

Definition at line 657 of file Spell.h.

◆ m_selfContainer

Spell** Spell::m_selfContainer

Definition at line 714 of file Spell.h.

◆ m_spellInfo

SpellInfo const* const Spell::m_spellInfo

Definition at line 599 of file Spell.h.

◆ m_spellSchoolMask

SpellSchoolMask Spell::m_spellSchoolMask
protected

Definition at line 754 of file Spell.h.

◆ m_spellState

SpellState Spell::m_spellState
protected

Definition at line 988 of file Spell.h.

◆ m_spellValue

SpellValue* const Spell::m_spellValue
protected

Definition at line 747 of file Spell.h.

◆ m_SpellVisual

SpellCastVisual Spell::m_SpellVisual

Definition at line 650 of file Spell.h.

◆ m_targets

SpellCastTargets Spell::m_targets

Definition at line 651 of file Spell.h.

◆ m_timer

int32 Spell::m_timer
protected

Definition at line 989 of file Spell.h.

◆ m_triggeredByAuraSpell

SpellInfo const* Spell::m_triggeredByAuraSpell
protected

Definition at line 997 of file Spell.h.

◆ m_UniqueCorpseTargetInfo

std::vector<CorpseTargetInfo> Spell::m_UniqueCorpseTargetInfo
protected

Definition at line 904 of file Spell.h.

◆ m_UniqueGOTargetInfo

std::vector<GOTargetInfo> Spell::m_UniqueGOTargetInfo
protected

Definition at line 887 of file Spell.h.

◆ m_UniqueItemInfo

std::vector<ItemTargetInfo> Spell::m_UniqueItemInfo
protected

Definition at line 895 of file Spell.h.

◆ m_UniqueTargetInfo

std::vector<TargetInfo> Spell::m_UniqueTargetInfo
protected

Definition at line 877 of file Spell.h.

◆ [struct]

struct { ... } Spell::Raw

◆ SituationTrigger

uint32 Spell::SituationTrigger

Definition at line 641 of file Spell.h.

◆ SpecializationId

uint32 Spell::SpecializationId

Definition at line 617 of file Spell.h.

◆ SpellId

uint32 Spell::SpellId

Definition at line 614 of file Spell.h.

◆ TalentId

uint32 Spell::TalentId

Definition at line 611 of file Spell.h.

◆ targetMissInfo

SpellMissInfo Spell::targetMissInfo
protected

Definition at line 804 of file Spell.h.

◆ TransmogOutfitId

uint32 Spell::TransmogOutfitId

Definition at line 640 of file Spell.h.

◆ unitTarget

Unit* Spell::unitTarget
protected

Definition at line 797 of file Spell.h.

◆ variance

float Spell::variance
protected

Definition at line 805 of file Spell.h.


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