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

#include <SpellInfo.h>

Classes

struct  StaticData
 

Public Member Functions

 SpellImplicitTargetInfo ()
 
 SpellImplicitTargetInfo (uint32 target)
 
bool IsArea () const
 
SpellTargetSelectionCategories GetSelectionCategory () const
 
SpellTargetReferenceTypes GetReferenceType () const
 
SpellTargetObjectTypes GetObjectType () const
 
SpellTargetCheckTypes GetCheckType () const
 
SpellTargetDirectionTypes GetDirectionType () const
 
float CalcDirectionAngle () const
 
Targets GetTarget () const
 
uint32 GetExplicitTargetMask (bool &srcSet, bool &dstSet) const
 

Private Attributes

Targets _target
 

Static Private Attributes

static std::array< StaticData, TOTAL_SPELL_TARGETS > _data
 

Detailed Description

Definition at line 174 of file SpellInfo.h.

Constructor & Destructor Documentation

◆ SpellImplicitTargetInfo() [1/2]

SpellImplicitTargetInfo::SpellImplicitTargetInfo ( )
inline

Definition at line 179 of file SpellInfo.h.

◆ SpellImplicitTargetInfo() [2/2]

SpellImplicitTargetInfo::SpellImplicitTargetInfo ( uint32  target)

Definition at line 73 of file SpellInfo.cpp.

References _target.

Member Function Documentation

◆ CalcDirectionAngle()

◆ GetCheckType()

◆ GetDirectionType()

SpellTargetDirectionTypes SpellImplicitTargetInfo::GetDirectionType ( ) const

Definition at line 103 of file SpellInfo.cpp.

References _data, and _target.

Referenced by CalcDirectionAngle().

◆ GetExplicitTargetMask()

◆ GetObjectType()

◆ GetReferenceType()

◆ GetSelectionCategory()

SpellTargetSelectionCategories SpellImplicitTargetInfo::GetSelectionCategory ( ) const

Definition at line 83 of file SpellInfo.cpp.

References _data, and _target.

Referenced by SpellScript::TargetHook::CheckEffect(), IsArea(), and Spell::SelectEffectImplicitTargets().

◆ GetTarget()

◆ IsArea()

bool SpellImplicitTargetInfo::IsArea ( ) const

Member Data Documentation

◆ _data

std::array< SpellImplicitTargetInfo::StaticData, TOTAL_SPELL_TARGETS > SpellImplicitTargetInfo::_data
staticprivate

◆ _target

Targets SpellImplicitTargetInfo::_target
private

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