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

Public Member Functions

 FlashFreezeCheck ()
 
bool operator() (WorldObject *target) const
 

Detailed Description

Constructor & Destructor Documentation

◆ FlashFreezeCheck()

FlashFreezeCheck::FlashFreezeCheck ( )
inline
1316{ }

Member Function Documentation

◆ operator()()

bool FlashFreezeCheck::operator() ( WorldObject target) const
inline
1319 {
1320 if (Unit* unit = target->ToUnit())
1321 return unit->HasAura(SPELL_SAFE_AREA_TRIGGERED) || unit->IsPet();
1322 return true;
1323 }
@ SPELL_SAFE_AREA_TRIGGERED
Definition: boss_hodir.cpp:45
Unit * ToUnit()
Definition: Object.h:209
Definition: Unit.h:630

References SPELL_SAFE_AREA_TRIGGERED, and Object::ToUnit().