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

#include <GridNotifiers.h>

Public Member Functions

 AnyDeadUnitSpellTargetInRangeCheck (Unit *searchObj, float range, SpellInfo const *spellInfo, SpellTargetCheckTypes check)
 
bool operator() (Player *u)
 
bool operator() (Corpse *u)
 
bool operator() (Creature *u)
 
template<class NOT_INTERESTED >
bool operator() (NOT_INTERESTED *)
 
- Public Member Functions inherited from Trinity::AnyDeadUnitObjectInRangeCheck
 AnyDeadUnitObjectInRangeCheck (Unit *searchObj, float range)
 
bool operator() (Player *u)
 
bool operator() (Corpse *u)
 
bool operator() (Creature *u)
 
template<class NOT_INTERESTED >
bool operator() (NOT_INTERESTED *)
 

Protected Attributes

SpellInfo consti_spellInfo
 
WorldObjectSpellTargetCheck i_check
 
- Protected Attributes inherited from Trinity::AnyDeadUnitObjectInRangeCheck
Unit const *const i_searchObj
 
float i_range
 

Constructor & Destructor Documentation

Trinity::AnyDeadUnitSpellTargetInRangeCheck::AnyDeadUnitSpellTargetInRangeCheck ( Unit searchObj,
float  range,
SpellInfo const spellInfo,
SpellTargetCheckTypes  check 
)
inline
600  : AnyDeadUnitObjectInRangeCheck(searchObj, range), i_spellInfo(spellInfo), i_check(searchObj, searchObj, spellInfo, check, NULL)
601  { }
arena_t NULL
Definition: jemalloc_internal.h:624
AnyDeadUnitObjectInRangeCheck(Unit *searchObj, float range)
Definition: GridNotifiers.h:586
WorldObjectSpellTargetCheck i_check
Definition: GridNotifiers.h:608
SpellInfo const * i_spellInfo
Definition: GridNotifiers.h:607
T check(T value)
Definition: format.h:305

Member Function Documentation

bool AnyDeadUnitSpellTargetInRangeCheck::operator() ( Player *  u)
366 {
368 }
bool operator()(Player *u)
Definition: GridNotifiers.cpp:350
WorldObjectSpellTargetCheck i_check
Definition: GridNotifiers.h:608

+ Here is the call graph for this function:

bool AnyDeadUnitSpellTargetInRangeCheck::operator() ( Corpse u)
371 {
373 }
bool operator()(Player *u)
Definition: GridNotifiers.cpp:350
WorldObjectSpellTargetCheck i_check
Definition: GridNotifiers.h:608

+ Here is the call graph for this function:

bool AnyDeadUnitSpellTargetInRangeCheck::operator() ( Creature u)
376 {
378 }
bool operator()(Player *u)
Definition: GridNotifiers.cpp:350
WorldObjectSpellTargetCheck i_check
Definition: GridNotifiers.h:608

+ Here is the call graph for this function:

template<class NOT_INTERESTED >
bool Trinity::AnyDeadUnitSpellTargetInRangeCheck::operator() ( NOT_INTERESTED *  )
inline
605 { return false; }

Member Data Documentation

WorldObjectSpellTargetCheck Trinity::AnyDeadUnitSpellTargetInRangeCheck::i_check
protected
SpellInfo const* Trinity::AnyDeadUnitSpellTargetInRangeCheck::i_spellInfo
protected

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