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

#include <GridNotifiers.h>

Collaboration diagram for Skyfire::AnyGroupedUnitInObjectRangeCheck:

Public Member Functions

 AnyGroupedUnitInObjectRangeCheck (WorldObject const *obj, Unit const *funit, float range, bool raid)
bool operator() (Unit *u)

Private Attributes

bool _raid
float _range
Unit const * _refUnit
WorldObject const * _source

Detailed Description

Definition at line 888 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ AnyGroupedUnitInObjectRangeCheck()

Skyfire::AnyGroupedUnitInObjectRangeCheck::AnyGroupedUnitInObjectRangeCheck ( WorldObject const * obj,
Unit const * funit,
float range,
bool raid )
inline

Definition at line 891 of file GridNotifiers.h.

References _raid, _range, _refUnit, and _source.

Member Function Documentation

◆ operator()()

bool Skyfire::AnyGroupedUnitInObjectRangeCheck::operator() ( Unit * u)
inline

Definition at line 892 of file GridNotifiers.h.

References _raid, _range, _refUnit, _source, and Unit::IsAlive().

Member Data Documentation

◆ _raid

bool Skyfire::AnyGroupedUnitInObjectRangeCheck::_raid
private

Definition at line 912 of file GridNotifiers.h.

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

◆ _range

float Skyfire::AnyGroupedUnitInObjectRangeCheck::_range
private

Definition at line 911 of file GridNotifiers.h.

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

◆ _refUnit

Unit const* Skyfire::AnyGroupedUnitInObjectRangeCheck::_refUnit
private

Definition at line 910 of file GridNotifiers.h.

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

◆ _source

WorldObject const* Skyfire::AnyGroupedUnitInObjectRangeCheck::_source
private

Definition at line 909 of file GridNotifiers.h.

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


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