AzerothCore
3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Public Member Functions
|
List of all members
VehicleCheck Class Reference
Public Member Functions
bool
operator()
(
WorldObject
*unit)
Detailed Description
Member Function Documentation
◆
operator()()
bool VehicleCheck::operator()
(
WorldObject
*
unit
)
inline
2339
{
2340
return
(!unit->
IsCreature
() && !unit->
IsPlayer
()) || unit->
ToUnit
()->
GetVehicle
();
2341
}
Object::IsPlayer
bool IsPlayer() const
Definition:
Object.h:200
Object::IsCreature
bool IsCreature() const
Definition:
Object.h:204
Object::ToUnit
Unit * ToUnit()
Definition:
Object.h:209
Unit::GetVehicle
Vehicle * GetVehicle() const
Definition:
Unit.h:1786
References
Unit::GetVehicle()
,
Object::IsCreature()
,
Object::IsPlayer()
, and
Object::ToUnit()
.
VehicleCheck
Generated on Mon Dec 16 2024 20:44:26 for AzerothCore by
1.9.5