TrinityCore
Loading...
Searching...
No Matches
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()()

Member Data Documentation

◆ _playerOnly

bool NonTankTargetSelector::_playerOnly
private

Definition at line 89 of file UnitAICommon.h.

Referenced by operator()().

◆ _source

Unit* NonTankTargetSelector::_source
private

Definition at line 88 of file UnitAICommon.h.

Referenced by operator()().


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