#include "GridNotifiers.h"
◆ MostHPMissingGroupInRange()
| Acore::MostHPMissingGroupInRange::MostHPMissingGroupInRange |
( |
Unit const * |
obj, |
|
|
float |
range, |
|
|
uint32 |
hp |
|
) |
| |
|
inline |
float i_range
Definition GridNotifiers.h:1585
Unit const * i_obj
Definition GridNotifiers.h:1584
uint32 i_hp
Definition GridNotifiers.h:1586
◆ operator()()
| bool Acore::MostHPMissingGroupInRange::operator() |
( |
Unit * |
u | ) |
|
|
inline |
1546 {
1548 {
1549 return false;
1550 }
1551
1552 Player* player =
nullptr;
1554 {
1556 }
1557
1559 {
1561 }
1562
1563 if (!player)
1564 {
1565 return false;
1566 }
1567
1570 {
1571 return false;
1572 }
1573
1575 {
1577 return true;
1578 }
1579
1580 return false;
1581 }
bool IsMember(ObjectGuid guid) const
Definition Group.cpp:2542
bool IsPlayer() const
Definition Object.h:201
Player * ToPlayer()
Definition Object.h:202
Group * GetGroup()
Definition Player.h:2516
Unit * GetOwner() const
Definition Unit.cpp:7722
bool IsPet() const
Definition Unit.h:798
uint32 GetMaxHealth() const
Definition Unit.h:1110
bool IsAlive() const
Definition Unit.h:1792
uint32 GetHealth() const
Definition Unit.h:1109
ObjectGuid GetOwnerGUID() const
Definition Unit.h:714
bool IsHostileTo(Unit const *unit) const
Definition Unit.cpp:7273
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
Definition Object.cpp:1381
References Player::GetGroup(), Object::GetGUID(), Unit::GetHealth(), Unit::GetMaxHealth(), Unit::GetOwner(), Unit::GetOwnerGUID(), i_hp, i_obj, i_range, Unit::IsAlive(), Unit::IsHostileTo(), Group::IsMember(), Unit::IsPet(), Object::IsPlayer(), WorldObject::IsWithinDistInMap(), and Object::ToPlayer().
◆ i_hp
| uint32 Acore::MostHPMissingGroupInRange::i_hp |
|
private |
◆ i_obj
| Unit const* Acore::MostHPMissingGroupInRange::i_obj |
|
private |
◆ i_range
| float Acore::MostHPMissingGroupInRange::i_range |
|
private |
The documentation for this class was generated from the following file: