TrinityCore
NonTankTargetSelector Struct Reference

#include <UnitAICommon.h>

+ Inheritance diagram for NonTankTargetSelector:

Public Member Functions

 NonTankTargetSelector (Unit *source, bool playerOnly=true)
 
bool operator() (Unit const *target) const
 

Private Attributes

Unit_source
 
bool _playerOnly
 

Detailed Description

Definition at line 82 of file UnitAICommon.h.

Constructor & Destructor Documentation

◆ NonTankTargetSelector()

NonTankTargetSelector::NonTankTargetSelector ( Unit source,
bool  playerOnly = true 
)
inline

Definition at line 84 of file UnitAICommon.h.

Member Function Documentation

◆ operator()()

bool NonTankTargetSelector::operator() ( Unit const *  target) const

Definition at line 137 of file UnitAICommon.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _playerOnly

bool NonTankTargetSelector::_playerOnly
private

Definition at line 89 of file UnitAICommon.h.

◆ _source

Unit* NonTankTargetSelector::_source
private

Definition at line 88 of file UnitAICommon.h.


The documentation for this struct was generated from the following files: