#include "GridNotifiers.h"
◆ NearestAssistCreatureInCreatureRangeCheck() [1/2]
Acore::NearestAssistCreatureInCreatureRangeCheck::NearestAssistCreatureInCreatureRangeCheck |
( |
Creature * |
obj, |
|
|
Unit * |
enemy, |
|
|
float |
range |
|
) |
| |
|
inline |
Unit *const i_enemy
Definition: GridNotifiers.h:1320
Creature *const i_obj
Definition: GridNotifiers.h:1319
float i_range
Definition: GridNotifiers.h:1321
◆ NearestAssistCreatureInCreatureRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestAssistCreatureInCreatureRangeCheck::operator() |
( |
Creature * |
u | ) |
|
|
inline |
1303 {
1305 return false;
1307 return false;
1308
1310 return false;
1311
1313 return false;
1314
1316 return true;
1317 }
bool CanAssistTo(Unit const *u, Unit const *enemy, bool checkfaction=true) const
Definition: Creature.cpp:2486
bool IsWithinLOSInMap(WorldObject const *obj, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, Optional< float > collisionHeight={ }, Optional< float > combatReach={ }) const
Definition: Object.cpp:1347
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1245
References Creature::CanAssistTo(), WorldObject::GetDistance(), i_enemy, i_obj, i_range, WorldObject::IsWithinDistInMap(), and WorldObject::IsWithinLOSInMap().
◆ i_enemy
Unit* const Acore::NearestAssistCreatureInCreatureRangeCheck::i_enemy |
|
private |
◆ i_obj
Creature* const Acore::NearestAssistCreatureInCreatureRangeCheck::i_obj |
|
private |
◆ i_range
float Acore::NearestAssistCreatureInCreatureRangeCheck::i_range |
|
private |