#include "GridNotifiers.h"
◆ NearestGameObjectEntryInObjectRangeCheck() [1/2]
Acore::NearestGameObjectEntryInObjectRangeCheck::NearestGameObjectEntryInObjectRangeCheck |
( |
WorldObject const & |
obj, |
|
|
uint32 |
entry, |
|
|
float |
range, |
|
|
bool |
onlySpawned = false |
|
) |
| |
|
inline |
724 :
WorldObject const & i_obj
Definition: GridNotifiers.h:737
bool i_onlySpawned
Definition: GridNotifiers.h:740
uint32 i_entry
Definition: GridNotifiers.h:738
float i_range
Definition: GridNotifiers.h:739
◆ NearestGameObjectEntryInObjectRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestGameObjectEntryInObjectRangeCheck::operator() |
( |
GameObject * |
go | ) |
|
|
inline |
728 {
730 {
732 return true;
733 }
734 return false;
735 }
bool isSpawned() const
Definition: GameObject.h:191
uint32 GetEntry() const
Definition: Object.h:109
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1321
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1245
References WorldObject::GetDistance(), Object::GetEntry(), i_entry, i_obj, i_onlySpawned, i_range, GameObject::isSpawned(), and WorldObject::IsWithinDistInMap().
◆ i_entry
uint32 Acore::NearestGameObjectEntryInObjectRangeCheck::i_entry |
|
private |
◆ i_obj
WorldObject const& Acore::NearestGameObjectEntryInObjectRangeCheck::i_obj |
|
private |
◆ i_onlySpawned
bool Acore::NearestGameObjectEntryInObjectRangeCheck::i_onlySpawned |
|
private |
◆ i_range
float Acore::NearestGameObjectEntryInObjectRangeCheck::i_range |
|
private |