#include "GridNotifiers.h"
◆ NearestGameObjectFishingHole() [1/2]
Acore::NearestGameObjectFishingHole::NearestGameObjectFishingHole |
( |
WorldObject const & |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
WorldObject const & i_obj
Definition: GridNotifiers.h:692
float i_range
Definition: GridNotifiers.h:693
◆ NearestGameObjectFishingHole() [2/2]
◆ operator()()
bool Acore::NearestGameObjectFishingHole::operator() |
( |
GameObject * |
go | ) |
|
|
inline |
683 {
685 {
687 return true;
688 }
689 return false;
690 }
@ GAMEOBJECT_TYPE_FISHINGHOLE
Definition: SharedDefines.h:1557
GameObjectTemplate const * GetGOInfo() const
Definition: GameObject.h:138
bool isSpawned() const
Definition: GameObject.h:191
uint32 type
Definition: GameObjectData.h:34
uint32 radius
Definition: GameObjectData.h:197
struct GameObjectTemplate::@215::@236 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 |