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

Public Member Functions

 IgbExplosionCheck (Unit *source)
 
bool operator() (WorldObject *unit)
 

Private Attributes

Unit_source
 

Detailed Description

Constructor & Destructor Documentation

◆ IgbExplosionCheck()

IgbExplosionCheck::IgbExplosionCheck ( Unit source)
inline
2173: _source(source) {}
Unit * _source
Definition: boss_icecrown_gunship_battle.cpp:2181

Member Function Documentation

◆ operator()()

bool IgbExplosionCheck::operator() ( WorldObject unit)
inline
2176 {
2177 return unit->GetTransport() != _source->GetTransport();
2178 }
Transport * GetTransport() const
Definition: Object.h:604

References _source, and WorldObject::GetTransport().

Member Data Documentation

◆ _source

Unit* IgbExplosionCheck::_source
private

Referenced by operator()().