TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Public Member Functions
|
List of all members
EarthenPowerTargetSelector Class Reference
Public Member Functions
EarthenPowerTargetSelector
()
bool
operator()
(
WorldObject
*target)
Constructor & Destructor Documentation
EarthenPowerTargetSelector::EarthenPowerTargetSelector
(
)
inline
406
{ }
Member Function Documentation
bool
EarthenPowerTargetSelector::operator()
(
WorldObject
*
target
)
inline
409
{
410
if
(!target->
ToUnit
())
411
return
true
;
412
413
if
(!target->
ToUnit
()->
HasAuraWithMechanic
(1 <<
MECHANIC_SNARE
))
414
return
true
;
415
416
return
false
;
417
}
MECHANIC_SNARE
Definition:
SharedDefines.h:1801
Unit::HasAuraWithMechanic
bool HasAuraWithMechanic(uint32 mechanicMask) const
Definition:
Unit.cpp:4311
Object::ToUnit
Unit * ToUnit()
Definition:
Object.h:197
Here is the call graph for this function:
The documentation for this class was generated from the following file:
src/server/scripts/Spells/
spell_shaman.cpp
Generated on Tue Apr 5 2016 20:17:26 for TrinityCore by
1.8.8