TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NotOnSameSide Struct Reference

Public Member Functions

 NotOnSameSide (Unit *source)
 
bool operator() (Unit const *target)
 

Private Attributes

bool _onLiveSide
 

Constructor & Destructor Documentation

NotOnSameSide::NotOnSameSide ( Unit source)
inline
147 : _onLiveSide(IN_LIVE_SIDE(source)) { }
#define IN_LIVE_SIDE(who)
Definition: boss_gothik.cpp:105
bool _onLiveSide
Definition: boss_gothik.cpp:155

Member Function Documentation

bool NotOnSameSide::operator() ( Unit const target)
inline
150  {
151  return (_onLiveSide != IN_LIVE_SIDE(target));
152  }
#define IN_LIVE_SIDE(who)
Definition: boss_gothik.cpp:105
bool _onLiveSide
Definition: boss_gothik.cpp:155

Member Data Documentation

bool NotOnSameSide::_onLiveSide
private

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