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
|
Public Attributes
|
List of all members
ManaVoidSelector Struct Reference
Public Member Functions
ManaVoidSelector
(
WorldObject
const
*source)
bool
operator()
(
Unit
*unit)
const
Public Attributes
WorldObject
const
*
_source
Constructor & Destructor Documentation
ManaVoidSelector::ManaVoidSelector
(
WorldObject
const
*
source
)
inline
explicit
165
:
_source
(source) { }
ManaVoidSelector::_source
WorldObject const * _source
Definition:
boss_valithria_dreamwalker.cpp:172
Member Function Documentation
bool
ManaVoidSelector::operator()
(
Unit
*
unit
)
const
inline
168
{
169
return
unit->
getPowerType
() ==
POWER_MANA
&&
_source
->
GetDistance
(unit) > 15.0f;
170
}
ManaVoidSelector::_source
WorldObject const * _source
Definition:
boss_valithria_dreamwalker.cpp:172
Unit::getPowerType
Powers getPowerType() const
Definition:
Unit.h:1444
WorldObject::GetDistance
float GetDistance(WorldObject const *obj) const
Definition:
Object.cpp:1594
POWER_MANA
Definition:
SharedDefines.h:248
Here is the call graph for this function:
Member Data Documentation
WorldObject
const
* ManaVoidSelector::_source
The documentation for this struct was generated from the following file:
src/server/scripts/Northrend/IcecrownCitadel/
boss_valithria_dreamwalker.cpp
Generated on Tue Apr 5 2016 20:18:23 for TrinityCore by
1.8.8