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

Public Member Functions

bool operator() (WorldObject *unit)
 

Detailed Description

Member Function Documentation

◆ operator()()

bool VehicleCheck::operator() ( WorldObject unit)
inline
2340 {
2341 return (!unit->IsCreature() && !unit->IsPlayer()) || unit->ToUnit()->GetVehicle();
2342 }
bool IsPlayer() const
Definition Object.h:201
bool IsCreature() const
Definition Object.h:205
Unit * ToUnit()
Definition Object.h:210
Vehicle * GetVehicle() const
Definition Unit.h:1830

References Unit::GetVehicle(), Object::IsCreature(), Object::IsPlayer(), and Object::ToUnit().


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