#include "GridNotifiers.h"
◆ AnyAssistCreatureInRangeCheck()
Acore::AnyAssistCreatureInRangeCheck::AnyAssistCreatureInRangeCheck |
( |
Unit * |
funit, |
|
|
Unit * |
enemy, |
|
|
float |
range |
|
) |
| |
|
inline |
1270 {
1271 }
Unit *const i_enemy
Definition: GridNotifiers.h:1292
float i_range
Definition: GridNotifiers.h:1293
Unit *const i_funit
Definition: GridNotifiers.h:1291
◆ operator()()
bool Acore::AnyAssistCreatureInRangeCheck::operator() |
( |
Creature * |
u | ) |
|
|
inline |
1273 {
1275 return false;
1276
1278 return false;
1279
1280
1282 return false;
1283
1284
1286 return false;
1287
1288 return true;
1289 }
bool CanAssistTo(Unit const *u, Unit const *enemy, bool checkfaction=true) const
Definition: Creature.cpp:2491
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:1358
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1332
References Creature::CanAssistTo(), i_enemy, i_funit, i_range, WorldObject::IsWithinDistInMap(), and WorldObject::IsWithinLOSInMap().
◆ i_enemy
Unit* const Acore::AnyAssistCreatureInRangeCheck::i_enemy |
|
private |
◆ i_funit
Unit* const Acore::AnyAssistCreatureInRangeCheck::i_funit |
|
private |
◆ i_range
float Acore::AnyAssistCreatureInRangeCheck::i_range |
|
private |