AzerothCore 3.3.5a
OpenSource WoW Emulator
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)
80 : SeatInfo(seatInfo)
81 {
83 }
void Reset()
Definition: VehicleDefines.h:71
PassengerInfo Passenger
Definition: VehicleDefines.h:88
VehicleSeatEntry const * SeatInfo
Definition: VehicleDefines.h:87

References Passenger, and PassengerInfo::Reset().

Member Function Documentation

◆ IsEmpty()

bool VehicleSeat::IsEmpty ( ) const
85{ return !Passenger.Guid; }
ObjectGuid Guid
Definition: VehicleDefines.h:68

References PassengerInfo::Guid, and Passenger.

Member Data Documentation

◆ Passenger

PassengerInfo VehicleSeat::Passenger

Referenced by IsEmpty(), and VehicleSeat().

◆ SeatInfo

VehicleSeatEntry const* VehicleSeat::SeatInfo