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

#include <GridNotifiers.h>

Collaboration diagram for Skyfire::AnyPlayerInObjectRangeCheck:

Public Member Functions

 AnyPlayerInObjectRangeCheck (WorldObject const *obj, float range, bool reqAlive=true)
bool operator() (Player *u)

Private Attributes

WorldObject const * _obj
float _range
bool _reqAlive

Detailed Description

Definition at line 1221 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ AnyPlayerInObjectRangeCheck()

Skyfire::AnyPlayerInObjectRangeCheck::AnyPlayerInObjectRangeCheck ( WorldObject const * obj,
float range,
bool reqAlive = true )
inline

Definition at line 1224 of file GridNotifiers.h.

References _obj, _range, and _reqAlive.

Member Function Documentation

◆ operator()()

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

Definition at line 1225 of file GridNotifiers.h.

References _obj, _range, _reqAlive, and Unit::IsAlive().

Member Data Documentation

◆ _obj

WorldObject const* Skyfire::AnyPlayerInObjectRangeCheck::_obj
private

Definition at line 1237 of file GridNotifiers.h.

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

◆ _range

float Skyfire::AnyPlayerInObjectRangeCheck::_range
private

Definition at line 1238 of file GridNotifiers.h.

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

◆ _reqAlive

bool Skyfire::AnyPlayerInObjectRangeCheck::_reqAlive
private

Definition at line 1239 of file GridNotifiers.h.

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


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