TrinityCore
Trinity::WorldObjectSpellAreaTargetCheck Struct Reference

#include <Spell.h>

+ Inheritance diagram for Trinity::WorldObjectSpellAreaTargetCheck:

Public Member Functions

 WorldObjectSpellAreaTargetCheck (float range, Position const *position, WorldObject *caster, WorldObject *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer const *condList, SpellTargetObjectTypes objectType, WorldObjectSpellAreaTargetSearchReason searchReason=WorldObjectSpellAreaTargetSearchReason::Area)
 
bool operator() (WorldObject *target) const
 

Public Attributes

float _range
 
Position const * _position
 
WorldObjectSpellAreaTargetSearchReason _searchReason
 

Additional Inherited Members

- Protected Member Functions inherited from Trinity::WorldObjectSpellTargetCheck
 WorldObjectSpellTargetCheck (WorldObject *caster, WorldObject *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer const *condList, SpellTargetObjectTypes objectType)
 
 ~WorldObjectSpellTargetCheck ()
 
bool operator() (WorldObject *target) const
 
- Protected Attributes inherited from Trinity::WorldObjectSpellTargetCheck
WorldObject_caster
 
WorldObject_referer
 
SpellInfo const * _spellInfo
 
SpellTargetCheckTypes _targetSelectionType
 
std::unique_ptr< ConditionSourceInfo_condSrcInfo
 
ConditionContainer const * _condList
 
SpellTargetObjectTypes _objectType
 

Detailed Description

Definition at line 971 of file Spell.h.

Constructor & Destructor Documentation

◆ WorldObjectSpellAreaTargetCheck()

Trinity::WorldObjectSpellAreaTargetCheck::WorldObjectSpellAreaTargetCheck ( float  range,
Position const *  position,
WorldObject caster,
WorldObject referer,
SpellInfo const *  spellInfo,
SpellTargetCheckTypes  selectionType,
ConditionContainer const *  condList,
SpellTargetObjectTypes  objectType,
WorldObjectSpellAreaTargetSearchReason  searchReason = WorldObjectSpellAreaTargetSearchReason::Area 
)

Definition at line 9207 of file Spell.cpp.

Member Function Documentation

◆ operator()()

bool Trinity::WorldObjectSpellAreaTargetCheck::operator() ( WorldObject target) const

Definition at line 9212 of file Spell.cpp.

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

Member Data Documentation

◆ _position

Position const* Trinity::WorldObjectSpellAreaTargetCheck::_position

Definition at line 974 of file Spell.h.

◆ _range

float Trinity::WorldObjectSpellAreaTargetCheck::_range

Definition at line 973 of file Spell.h.

◆ _searchReason

WorldObjectSpellAreaTargetSearchReason Trinity::WorldObjectSpellAreaTargetCheck::_searchReason

Definition at line 975 of file Spell.h.


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