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
|
Private Attributes
|
List of all members
PowerCheck Class Reference
Public Member Functions
PowerCheck
(
Powers
const
power)
bool
operator()
(
WorldObject
*obj)
const
Private Attributes
Powers
const
_power
Constructor & Destructor Documentation
PowerCheck::PowerCheck
(
Powers
const
power
)
inline
explicit
82
:
_power
(power) { }
PowerCheck::_power
Powers const _power
Definition:
spell_priest.cpp:93
Member Function Documentation
bool
PowerCheck::operator()
(
WorldObject
*
obj
)
const
inline
85
{
86
if
(
Unit
* target = obj->
ToUnit
())
87
return
target->getPowerType() !=
_power
;
88
89
return
true
;
90
}
PowerCheck::_power
Powers const _power
Definition:
spell_priest.cpp:93
Unit
Definition:
Unit.h:1305
Object::ToUnit
Unit * ToUnit()
Definition:
Object.h:197
Here is the call graph for this function:
Member Data Documentation
Powers
const
PowerCheck::_power
private
The documentation for this class was generated from the following file:
src/server/scripts/Spells/
spell_priest.cpp
Generated on Tue Apr 5 2016 20:22:35 for TrinityCore by
1.8.8