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

#include <GridNotifiers.h>

Collaboration diagram for Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck:

Public Member Functions

float GetLastRange () const
 NearestCreatureEntryWithLiveStateInObjectRangeCheck (WorldObject const &obj, uint32 entry, bool alive, float range)
bool operator() (Creature *u)

Private Member Functions

 NearestCreatureEntryWithLiveStateInObjectRangeCheck (NearestCreatureEntryWithLiveStateInObjectRangeCheck const &)

Private Attributes

bool i_alive
uint32 i_entry
WorldObject const & i_obj
float i_range

Detailed Description

Definition at line 1195 of file GridNotifiers.h.

Constructor & Destructor Documentation

◆ NearestCreatureEntryWithLiveStateInObjectRangeCheck() [1/2]

Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::NearestCreatureEntryWithLiveStateInObjectRangeCheck ( WorldObject const & obj,
uint32 entry,
bool alive,
float range )
inline

Definition at line 1198 of file GridNotifiers.h.

References i_alive, i_entry, i_obj, and i_range.

Referenced by NearestCreatureEntryWithLiveStateInObjectRangeCheck().

◆ NearestCreatureEntryWithLiveStateInObjectRangeCheck() [2/2]

Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::NearestCreatureEntryWithLiveStateInObjectRangeCheck ( NearestCreatureEntryWithLiveStateInObjectRangeCheck const & )
private

Member Function Documentation

◆ GetLastRange()

float Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::GetLastRange ( ) const
inline

Definition at line 1210 of file GridNotifiers.h.

References i_range.

◆ operator()()

bool Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::operator() ( Creature * u)
inline

Definition at line 1201 of file GridNotifiers.h.

References Object::GetEntry(), i_alive, i_entry, i_obj, i_range, and Unit::IsAlive().

Member Data Documentation

◆ i_alive

bool Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_alive
private

◆ i_entry

uint32 Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_entry
private

◆ i_obj

WorldObject const& Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_obj
private

◆ i_range

float Skyfire::NearestCreatureEntryWithLiveStateInObjectRangeCheck::i_range
private

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