#include "GridNotifiers.h"
◆ AnyPlayerInObjectRangeCheck()
| Acore::AnyPlayerInObjectRangeCheck::AnyPlayerInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
float |
range, |
|
|
bool |
reqAlive = true, |
|
|
bool |
disallowGM = false |
|
) |
| |
|
inline |
WorldObject const * _obj
Definition GridNotifiers.h:1375
bool _disallowGM
Definition GridNotifiers.h:1378
float _range
Definition GridNotifiers.h:1376
bool _reqAlive
Definition GridNotifiers.h:1377
◆ operator()() [1/2]
| bool Acore::AnyPlayerInObjectRangeCheck::operator() |
( |
Player * |
u | ) |
|
|
inline |
1352 {
1354 return false;
1355
1357 return false;
1358
1360 return false;
1361
1362 return true;
1363 }
bool IsGameMaster() const
Definition Player.h:1161
bool IsSpectator() const
Definition Player.h:2576
bool IsAlive() const
Definition Unit.h:1748
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
Definition Object.cpp:1354
References _disallowGM, _obj, _range, _reqAlive, Unit::IsAlive(), Player::IsGameMaster(), Player::IsSpectator(), and WorldObject::IsWithinDistInMap().
◆ operator()() [2/2]
| bool Acore::AnyPlayerInObjectRangeCheck::operator() |
( |
Player * |
u, |
|
|
bool |
checkRange |
|
) |
| |
|
inline |
◆ _disallowGM
| bool Acore::AnyPlayerInObjectRangeCheck::_disallowGM |
|
private |
◆ _obj
| WorldObject const* Acore::AnyPlayerInObjectRangeCheck::_obj |
|
private |
◆ _range
| float Acore::AnyPlayerInObjectRangeCheck::_range |
|
private |
◆ _reqAlive
| bool Acore::AnyPlayerInObjectRangeCheck::_reqAlive |
|
private |
The documentation for this class was generated from the following file: