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

#include <VehicleDefines.h>

Public Member Functions

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

Public Attributes

VehicleSeatEntry constSeatInfo
 
PassengerInfo Passenger
 

Constructor & Destructor Documentation

VehicleSeat::VehicleSeat ( VehicleSeatEntry const seatInfo)
inlineexplicit
92  : SeatInfo(seatInfo)
93  {
94  Passenger.Reset();
95  }
VehicleSeatEntry const * SeatInfo
Definition: VehicleDefines.h:99
PassengerInfo Passenger
Definition: VehicleDefines.h:100
void Reset()
Definition: VehicleDefines.h:83

+ Here is the call graph for this function:

Member Function Documentation

bool VehicleSeat::IsEmpty ( ) const
inline
97 { return Passenger.Guid.IsEmpty(); }
PassengerInfo Passenger
Definition: VehicleDefines.h:100
ObjectGuid Guid
Definition: VehicleDefines.h:80
bool IsEmpty() const
Definition: ObjectGuid.h:242

+ Here is the call graph for this function:

Member Data Documentation

PassengerInfo VehicleSeat::Passenger
VehicleSeatEntry const* VehicleSeat::SeatInfo

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