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
ReplenishmentCheck Class Reference
Public Member Functions
bool
operator()
(
WorldObject
*obj)
const
Member Function Documentation
bool
ReplenishmentCheck::operator()
(
WorldObject
*
obj
)
const
inline
2753
{
2754
if
(
Unit
* target = obj->
ToUnit
())
2755
return
target->getPowerType() !=
POWER_MANA
;
2756
2757
return
true
;
2758
}
Unit
Definition:
Unit.h:1305
Object::ToUnit
Unit * ToUnit()
Definition:
Object.h:197
POWER_MANA
Definition:
SharedDefines.h:248
Here is the call graph for this function:
The documentation for this class was generated from the following file:
src/server/scripts/Spells/
spell_generic.cpp
Generated on Tue Apr 5 2016 20:22:57 for TrinityCore by
1.8.8