TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Trinity::WorldObjectSpellAreaTargetCheck Struct Reference

#include <Spell.h>

Public Member Functions

 WorldObjectSpellAreaTargetCheck (float range, Position const *position, Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer *condList)
 
bool operator() (WorldObject *target)
 
- Public Member Functions inherited from Trinity::WorldObjectSpellTargetCheck
 WorldObjectSpellTargetCheck (Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer *condList)
 
 ~WorldObjectSpellTargetCheck ()
 
bool operator() (WorldObject *target)
 

Public Attributes

float _range
 
Position const_position
 
- Public Attributes inherited from Trinity::WorldObjectSpellTargetCheck
Unit_caster
 
Unit_referer
 
SpellInfo const_spellInfo
 
SpellTargetCheckTypes _targetSelectionType
 
ConditionSourceInfo_condSrcInfo
 
ConditionContainer_condList
 

Constructor & Destructor Documentation

Trinity::WorldObjectSpellAreaTargetCheck::WorldObjectSpellAreaTargetCheck ( float  range,
Position const position,
Unit caster,
Unit referer,
SpellInfo const spellInfo,
SpellTargetCheckTypes  selectionType,
ConditionContainer condList 
)
7514  : WorldObjectSpellTargetCheck(caster, referer, spellInfo, selectionType, condList), _range(range), _position(position) { }
float _range
Definition: Spell.h:881
Position const * _position
Definition: Spell.h:882
WorldObjectSpellTargetCheck(Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionContainer *condList)
Definition: Spell.cpp:7423

Member Function Documentation

bool Trinity::WorldObjectSpellAreaTargetCheck::operator() ( WorldObject target)
7517 {
7519  return false;
7521 }
float _range
Definition: Spell.h:881
Position const * _position
Definition: Spell.h:882
bool operator()(WorldObject *target)
Definition: Spell.cpp:7438
GameObject * ToGameObject()
Definition: Object.h:200
float GetPositionY() const
Definition: Position.h:105
float GetPositionZ() const
Definition: Position.h:106
bool IsInRange(float x, float y, float z, float radius) const
Definition: GameObject.cpp:1887
bool IsWithinDist3d(float x, float y, float z, float dist) const
Definition: Object.cpp:1638
float GetPositionX() const
Definition: Position.h:104

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Position const* Trinity::WorldObjectSpellAreaTargetCheck::_position
float Trinity::WorldObjectSpellAreaTargetCheck::_range

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