#include "GridNotifiers.h"
◆ AnyUnfriendlyNoTotemUnitInObjectRangeCheck()
Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::AnyUnfriendlyNoTotemUnitInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
Unit const * |
funit, |
|
|
float |
range |
|
) |
| |
|
inline |
float i_range
Definition: GridNotifiers.h:901
Unit const * i_funit
Definition: GridNotifiers.h:900
WorldObject const * i_obj
Definition: GridNotifiers.h:899
◆ operator()()
bool Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
883 {
885 return false;
886
888 return false;
889
891 return false;
892
894 return false;
895
897 }
@ CREATURE_TYPE_NON_COMBAT_PET
Definition: SharedDefines.h:2639
bool IsTrigger() const
Definition: Creature.h:75
bool IsAvoidingAOE() const
Definition: Creature.h:130
bool IsCreature() const
Definition: Object.h:201
Creature * ToCreature()
Definition: Object.h:202
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
bool IsAlive() const
Definition: Unit.h:1654
uint32 GetCreatureType() const
Definition: Unit.cpp:15182
bool IsFriendlyTo(Unit const *unit) const
Definition: Unit.cpp:10241
bool isTargetableForAttack(bool checkFakeDeath=true, Unit const *byWho=nullptr) const
Definition: Unit.cpp:13854
bool IsTotem() const
Definition: Unit.h:756
References CREATURE_TYPE_NON_COMBAT_PET, Unit::GetCreatureType(), i_funit, i_obj, i_range, Unit::IsAlive(), Creature::IsAvoidingAOE(), Object::IsCreature(), Unit::IsFriendlyTo(), Unit::isTargetableForAttack(), Unit::IsTotem(), Creature::IsTrigger(), WorldObject::IsWithinDistInMap(), and Object::ToCreature().
◆ i_funit
Unit const* Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::i_funit |
|
private |
◆ i_obj
WorldObject const* Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::i_obj |
|
private |
◆ i_range
float Acore::AnyUnfriendlyNoTotemUnitInObjectRangeCheck::i_range |
|
private |