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
WebTargetSelector Struct Reference
Public Member Functions
WebTargetSelector
(
Unit
*maexxna)
bool
operator()
(
Unit
const
*target)
const
Private Attributes
const
Unit
*
_maexxna
Constructor & Destructor Documentation
WebTargetSelector::WebTargetSelector
(
Unit
*
maexxna
)
inline
74
:
_maexxna
(maexxna) {}
WebTargetSelector::_maexxna
const Unit * _maexxna
Definition:
boss_maexxna.cpp:85
Member Function Documentation
bool
WebTargetSelector::operator()
(
Unit
const
*
target
)
const
inline
76
{
77
if
(
_maexxna
->
GetVictim
() == target)
// never target tank
78
return
false
;
79
if
(target->HasAura(
SPELL_WEB_WRAP
))
// never target targets that are already webbed
80
return
false
;
81
return
true
;
82
}
SPELL_WEB_WRAP
Definition:
boss_maexxna.cpp:26
Unit::GetVictim
Unit * GetVictim() const
Definition:
Unit.h:1379
WebTargetSelector::_maexxna
const Unit * _maexxna
Definition:
boss_maexxna.cpp:85
Here is the call graph for this function:
Member Data Documentation
const
Unit
* WebTargetSelector::_maexxna
private
The documentation for this struct was generated from the following file:
src/server/scripts/Northrend/Naxxramas/
boss_maexxna.cpp
Generated on Tue Apr 5 2016 20:30:03 for TrinityCore by
1.8.8