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
MistressKissTargetSelector Class Reference
Public Member Functions
MistressKissTargetSelector
()
bool
operator()
(
WorldObject
*unit)
const
Constructor & Destructor Documentation
MistressKissTargetSelector::MistressKissTargetSelector
(
)
inline
531
{ }
Member Function Documentation
bool
MistressKissTargetSelector::operator()
(
WorldObject
*
unit
)
const
inline
534
{
535
if
(unit->
GetTypeId
() ==
TYPEID_PLAYER
)
536
if
(unit->
ToPlayer
()->getPowerType() ==
POWER_MANA
)
537
return
false
;
538
539
return
true
;
540
}
Object::ToPlayer
Player * ToPlayer()
Definition:
Object.h:191
Object::GetTypeId
TypeID GetTypeId() const
Definition:
Object.h:113
TYPEID_PLAYER
Definition:
ObjectGuid.h:33
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/Northrend/CrusadersColiseum/TrialOfTheCrusader/
boss_lord_jaraxxus.cpp
Generated on Tue Apr 5 2016 20:18:44 for TrinityCore by
1.8.8