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

Constructor & Destructor Documentation

◆ SpellImplicitTargetInfo() [1/2]

SpellImplicitTargetInfo::SpellImplicitTargetInfo ( )
inline

Definition at line 178 of file SpellInfo.h.

◆ SpellImplicitTargetInfo() [2/2]

SpellImplicitTargetInfo::SpellImplicitTargetInfo ( uint32  target)

Definition at line 64 of file SpellInfo.cpp.

Member Function Documentation

◆ CalcDirectionAngle()

float SpellImplicitTargetInfo::CalcDirectionAngle ( ) const

Definition at line 99 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 89 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetDirectionType()

SpellTargetDirectionTypes SpellImplicitTargetInfo::GetDirectionType ( ) const

Definition at line 94 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetExplicitTargetMask()

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

Definition at line 131 of file SpellInfo.cpp.

+ Here is the call graph for this function:

◆ GetObjectType()

SpellTargetObjectTypes SpellImplicitTargetInfo::GetObjectType ( ) const

Definition at line 84 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetReferenceType()

SpellTargetReferenceTypes SpellImplicitTargetInfo::GetReferenceType ( ) const

Definition at line 79 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetSelectionCategory()

SpellTargetSelectionCategories SpellImplicitTargetInfo::GetSelectionCategory ( ) const

Definition at line 74 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ GetTarget()

Targets SpellImplicitTargetInfo::GetTarget ( ) const

Definition at line 126 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ IsArea()

bool SpellImplicitTargetInfo::IsArea ( ) const

Definition at line 69 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 236 of file SpellInfo.h.

◆ _target

Targets SpellImplicitTargetInfo::_target
private

Definition at line 176 of file SpellInfo.h.


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