TrinityCore
Loading...
Searching...
No Matches
Trinity::WorldObjectSpellLineTargetCheck Struct Reference

#include <Spell.h>

+ Inheritance diagram for Trinity::WorldObjectSpellLineTargetCheck:

Public Member Functions

 WorldObjectSpellLineTargetCheck (Position const *srcPosition, Position const *dstPosition, float lineWidth, SpellRange 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 (SpellRange 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
SpellRange _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 1078 of file Spell.h.

Constructor & Destructor Documentation

◆ WorldObjectSpellLineTargetCheck()

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

Definition at line 9500 of file Spell.cpp.

References _position, Position::GetAbsoluteAngle(), and Position::SetOrientation().

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ _lineWidth

float Trinity::WorldObjectSpellLineTargetCheck::_lineWidth

Definition at line 1081 of file Spell.h.

Referenced by operator()().

◆ _position

Position Trinity::WorldObjectSpellLineTargetCheck::_position

Definition at line 1080 of file Spell.h.

Referenced by operator()(), and WorldObjectSpellLineTargetCheck().


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