AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
VehicleSeat Struct Reference

#include "VehicleDefines.h"

Public Member Functions

 VehicleSeat (VehicleSeatEntry const *seatInfo)
 
bool IsEmpty () const
 

Public Attributes

VehicleSeatEntry const * SeatInfo
 
PassengerInfo Passenger
 

Detailed Description

Constructor & Destructor Documentation

◆ VehicleSeat()

VehicleSeat::VehicleSeat ( VehicleSeatEntry const *  seatInfo)
inlineexplicit
79 : SeatInfo(seatInfo)
80 {
82 }
void Reset()
Definition: VehicleDefines.h:70
PassengerInfo Passenger
Definition: VehicleDefines.h:87
VehicleSeatEntry const * SeatInfo
Definition: VehicleDefines.h:86

References Passenger, and PassengerInfo::Reset().

Member Function Documentation

◆ IsEmpty()

bool VehicleSeat::IsEmpty ( ) const
inline
84{ return !Passenger.Guid; }
ObjectGuid Guid
Definition: VehicleDefines.h:67

References PassengerInfo::Guid, and Passenger.

Member Data Documentation

◆ Passenger

PassengerInfo VehicleSeat::Passenger

Referenced by IsEmpty(), and VehicleSeat().

◆ SeatInfo

VehicleSeatEntry const* VehicleSeat::SeatInfo