TrinityCore
Trinity::NearestHostileUnitInAggroRangeCheck Class Reference

#include <GridNotifiers.h>

Public Member Functions

 NearestHostileUnitInAggroRangeCheck (Creature const *creature, bool useLOS=false, bool ignoreCivilians=false)
 
bool operator() (Unit *u) const
 

Private Member Functions

 NearestHostileUnitInAggroRangeCheck (NearestHostileUnitInAggroRangeCheck const &)=delete
 

Private Attributes

Creature const * _me
 
bool _useLOS
 
bool _ignoreCivilians
 

Detailed Description

Definition at line 1278 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ NearestHostileUnitInAggroRangeCheck() [1/2]

Trinity::NearestHostileUnitInAggroRangeCheck::NearestHostileUnitInAggroRangeCheck ( Creature const *  creature,
bool  useLOS = false,
bool  ignoreCivilians = false 
)
inlineexplicit

Definition at line 1281 of file GridNotifiers.h.

◆ NearestHostileUnitInAggroRangeCheck() [2/2]

Trinity::NearestHostileUnitInAggroRangeCheck::NearestHostileUnitInAggroRangeCheck ( NearestHostileUnitInAggroRangeCheck const &  )
privatedelete

Member Function Documentation

◆ operator()()

bool Trinity::NearestHostileUnitInAggroRangeCheck::operator() ( Unit u) const
inline

Definition at line 1283 of file GridNotifiers.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _ignoreCivilians

bool Trinity::NearestHostileUnitInAggroRangeCheck::_ignoreCivilians
private

Definition at line 1309 of file GridNotifiers.h.

◆ _me

Creature const* Trinity::NearestHostileUnitInAggroRangeCheck::_me
private

Definition at line 1307 of file GridNotifiers.h.

◆ _useLOS

bool Trinity::NearestHostileUnitInAggroRangeCheck::_useLOS
private

Definition at line 1308 of file GridNotifiers.h.


The documentation for this class was generated from the following file: