#include "GridNotifiers.h"
◆ NearestGameObjectEntryInObjectRangeCheck() [1/2]
Acore::NearestGameObjectEntryInObjectRangeCheck::NearestGameObjectEntryInObjectRangeCheck |
( |
WorldObject const & |
obj, |
|
|
uint32 |
entry, |
|
|
float |
range, |
|
|
bool |
onlySpawned = false |
|
) |
| |
|
inline |
727 :
WorldObject const & i_obj
Definition: GridNotifiers.h:740
bool i_onlySpawned
Definition: GridNotifiers.h:743
uint32 i_entry
Definition: GridNotifiers.h:741
float i_range
Definition: GridNotifiers.h:742
◆ NearestGameObjectEntryInObjectRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestGameObjectEntryInObjectRangeCheck::operator() |
( |
GameObject * |
go | ) |
|
|
inline |
731 {
733 {
735 return true;
736 }
737 return false;
738 }
bool isSpawned() const
Definition: GameObject.h:189
uint32 GetEntry() const
Definition: Object.h:115
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1332
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1256
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 |