Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Skyfire::NearestPlayerInObjectRangeCheck Class Reference

#include <GridNotifiers.h>

Collaboration diagram for Skyfire::NearestPlayerInObjectRangeCheck:

Public Member Functions

 NearestPlayerInObjectRangeCheck (WorldObject const *obj, float range)
bool operator() (Player *u)

Private Member Functions

 NearestPlayerInObjectRangeCheck (NearestPlayerInObjectRangeCheck const &)

Private Attributes

WorldObject const * i_obj
float i_range

Detailed Description

Definition at line 1242 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ NearestPlayerInObjectRangeCheck() [1/2]

Skyfire::NearestPlayerInObjectRangeCheck::NearestPlayerInObjectRangeCheck ( WorldObject const * obj,
float range )
inline

Definition at line 1245 of file GridNotifiers.h.

References i_obj, and i_range.

Referenced by NearestPlayerInObjectRangeCheck().

◆ NearestPlayerInObjectRangeCheck() [2/2]

Skyfire::NearestPlayerInObjectRangeCheck::NearestPlayerInObjectRangeCheck ( NearestPlayerInObjectRangeCheck const & )
private

Member Function Documentation

◆ operator()()

bool Skyfire::NearestPlayerInObjectRangeCheck::operator() ( Player * u)
inline

Definition at line 1249 of file GridNotifiers.h.

References i_obj, i_range, and Unit::IsAlive().

Member Data Documentation

◆ i_obj

WorldObject const* Skyfire::NearestPlayerInObjectRangeCheck::i_obj
private

Definition at line 1260 of file GridNotifiers.h.

Referenced by NearestPlayerInObjectRangeCheck(), and operator()().

◆ i_range

float Skyfire::NearestPlayerInObjectRangeCheck::i_range
private

Definition at line 1261 of file GridNotifiers.h.

Referenced by NearestPlayerInObjectRangeCheck(), and operator()().


The documentation for this class was generated from the following file: