#include "GridNotifiers.h"
◆ NearestGameObjectEntryInObjectRangeCheck() [1/2]
Acore::NearestGameObjectEntryInObjectRangeCheck::NearestGameObjectEntryInObjectRangeCheck |
( |
WorldObject const & |
obj, |
|
|
uint32 |
entry, |
|
|
float |
range, |
|
|
bool |
onlySpawned = false |
|
) |
| |
|
inline |
717 :
WorldObject const & i_obj
Definition GridNotifiers.h:730
bool i_onlySpawned
Definition GridNotifiers.h:733
uint32 i_entry
Definition GridNotifiers.h:731
float i_range
Definition GridNotifiers.h:732
◆ NearestGameObjectEntryInObjectRangeCheck() [2/2]
◆ operator()()
bool Acore::NearestGameObjectEntryInObjectRangeCheck::operator() |
( |
GameObject * |
go | ) |
|
|
inline |
721 {
723 {
725 return true;
726 }
727 return false;
728 }
bool isSpawned() const
Definition GameObject.h:189
uint32 GetEntry() const
Definition Object.h:116
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition Object.cpp:1314
float GetDistance(WorldObject const *obj) const
Definition Object.cpp:1238
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 |
The documentation for this class was generated from the following file: