#include "GridNotifiers.h"
◆ CallOfHelpCreatureInRangeDo()
Acore::CallOfHelpCreatureInRangeDo::CallOfHelpCreatureInRangeDo |
( |
Unit * |
funit, |
|
|
Unit * |
enemy, |
|
|
float |
range |
|
) |
| |
|
inline |
1151 {}
Unit *const i_enemy
Definition: GridNotifiers.h:1173
float i_range
Definition: GridNotifiers.h:1174
Unit *const i_funit
Definition: GridNotifiers.h:1172
◆ operator()()
void Acore::CallOfHelpCreatureInRangeDo::operator() |
( |
Creature * |
u | ) |
|
|
inline |
1153 {
1155 return;
1156
1158 return;
1159
1160
1162 return;
1163
1164
1166 return;
1167
1170 }
virtual void AttackStart(Unit *)
Definition: UnitAI.cpp:27
bool CanAssistTo(Unit const *u, Unit const *enemy, bool checkfaction=true) const
Definition: Creature.cpp:2486
CreatureAI * AI() const
Definition: Creature.h:143
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
References Creature::AI(), UnitAI::AttackStart(), Creature::CanAssistTo(), i_enemy, i_funit, i_range, WorldObject::IsWithinDistInMap(), and WorldObject::IsWithinLOSInMap().
◆ i_enemy
Unit* const Acore::CallOfHelpCreatureInRangeDo::i_enemy |
|
private |
◆ i_funit
Unit* const Acore::CallOfHelpCreatureInRangeDo::i_funit |
|
private |
◆ i_range
float Acore::CallOfHelpCreatureInRangeDo::i_range |
|
private |