TrinityCore
Trinity::WorldObjectSpellLineTargetCheck Struct Reference

#include <Spell.h>

+ Inheritance diagram for Trinity::WorldObjectSpellLineTargetCheck:

Public Member Functions

 WorldObjectSpellLineTargetCheck (Position const *srcPosition, Position const *dstPosition, float lineWidth, float range, WorldObject *caster, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer const *condList, SpellTargetObjectTypes objectType)
 
bool operator() (WorldObject *target) const
 
- Public Member Functions inherited from 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)
 
bool operator() (WorldObject *target) const
 

Public Attributes

Position _position
 
float _lineWidth
 
- Public Attributes inherited from Trinity::WorldObjectSpellAreaTargetCheck
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 1004 of file Spell.h.

Constructor & Destructor Documentation

◆ WorldObjectSpellLineTargetCheck()

Trinity::WorldObjectSpellLineTargetCheck::WorldObjectSpellLineTargetCheck ( Position const *  srcPosition,
Position const *  dstPosition,
float  lineWidth,
float  range,
WorldObject caster,
SpellInfo const *  spellInfo,
SpellTargetCheckTypes  selectionType,
ConditionContainer const *  condList,
SpellTargetObjectTypes  objectType 
)

Definition at line 9290 of file Spell.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator()()

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

Definition at line 9298 of file Spell.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _lineWidth

float Trinity::WorldObjectSpellLineTargetCheck::_lineWidth

Definition at line 1007 of file Spell.h.

◆ _position

Position Trinity::WorldObjectSpellLineTargetCheck::_position

Definition at line 1006 of file Spell.h.


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