AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GhoulTargetCheck Class Reference

Public Member Functions

 GhoulTargetCheck (bool alive)
 
bool operator() (WorldObject *object) const
 

Private Attributes

bool _alive
 

Detailed Description

Constructor & Destructor Documentation

◆ GhoulTargetCheck()

GhoulTargetCheck::GhoulTargetCheck ( bool  alive)
inlineexplicit
1468: _alive(alive) {}
bool _alive
Definition zone_dragonblight.cpp:1474

Member Function Documentation

◆ operator()()

bool GhoulTargetCheck::operator() ( WorldObject object) const
inline
1470 {
1471 return _alive ^ (!object->IsCreature() || ((Unit*)object)->GetDisplayId() != 11686);
1472 }
Definition Unit.h:620

References _alive.

Member Data Documentation

◆ _alive

bool GhoulTargetCheck::_alive
private

Referenced by operator()().


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