TrinityCore
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 177 of file SpellInfo.h.

Constructor & Destructor Documentation

◆ SpellImplicitTargetInfo() [1/2]

SpellImplicitTargetInfo::SpellImplicitTargetInfo ( )
inline

Definition at line 182 of file SpellInfo.h.

◆ SpellImplicitTargetInfo() [2/2]

SpellImplicitTargetInfo::SpellImplicitTargetInfo ( uint32  target)

Definition at line 70 of file SpellInfo.cpp.

Member Function Documentation

◆ CalcDirectionAngle()

float SpellImplicitTargetInfo::CalcDirectionAngle ( ) const

Definition at line 105 of file SpellInfo.cpp.

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

◆ GetCheckType()

SpellTargetCheckTypes SpellImplicitTargetInfo::GetCheckType ( ) const

Definition at line 95 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDirectionType()

SpellTargetDirectionTypes SpellImplicitTargetInfo::GetDirectionType ( ) const

Definition at line 100 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetExplicitTargetMask()

uint32 SpellImplicitTargetInfo::GetExplicitTargetMask ( bool &  srcSet,
bool &  dstSet 
) const

Definition at line 137 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ GetObjectType()

SpellTargetObjectTypes SpellImplicitTargetInfo::GetObjectType ( ) const

Definition at line 90 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetReferenceType()

SpellTargetReferenceTypes SpellImplicitTargetInfo::GetReferenceType ( ) const

Definition at line 85 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetSelectionCategory()

SpellTargetSelectionCategories SpellImplicitTargetInfo::GetSelectionCategory ( ) const

Definition at line 80 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetTarget()

Targets SpellImplicitTargetInfo::GetTarget ( ) const

Definition at line 132 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsArea()

bool SpellImplicitTargetInfo::IsArea ( ) const

Definition at line 75 of file SpellInfo.cpp.

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

Member Data Documentation

◆ _data

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

Definition at line 209 of file SpellInfo.h.

◆ _target

Targets SpellImplicitTargetInfo::_target
private

Definition at line 180 of file SpellInfo.h.


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