#include "GridNotifiers.h"
◆ NearestGameObjectFishingHole() [1/2]
Acore::NearestGameObjectFishingHole::NearestGameObjectFishingHole |
( |
WorldObject const & |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
WorldObject const & i_obj
Definition: GridNotifiers.h:695
float i_range
Definition: GridNotifiers.h:696
◆ NearestGameObjectFishingHole() [2/2]
◆ operator()()
bool Acore::NearestGameObjectFishingHole::operator() |
( |
GameObject * |
go | ) |
|
|
inline |
686 {
688 {
690 return true;
691 }
692 return false;
693 }
@ GAMEOBJECT_TYPE_FISHINGHOLE
Definition: SharedDefines.h:1585
GameObjectTemplate const * GetGOInfo() const
Definition: GameObject.h:137
bool isSpawned() const
Definition: GameObject.h:190
uint32 type
Definition: GameObjectData.h:34
uint32 radius
Definition: GameObjectData.h:197
struct GameObjectTemplate::@227::@248 fishinghole
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 GameObjectTemplate::fishinghole, GAMEOBJECT_TYPE_FISHINGHOLE, WorldObject::GetDistance(), GameObject::GetGOInfo(), i_obj, i_range, GameObject::isSpawned(), WorldObject::IsWithinDistInMap(), GameObjectTemplate::radius, and GameObjectTemplate::type.
◆ i_obj
WorldObject const& Acore::NearestGameObjectFishingHole::i_obj |
|
private |
◆ i_range
float Acore::NearestGameObjectFishingHole::i_range |
|
private |