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

#include <DBCStructure.h>

Public Member Functions

bool CanEnterOrExit () const
 
bool CanSwitchFromSeat () const
 
bool IsUsableByOverride () const
 
bool IsEjectable () const
 

Public Attributes

uint32 ID
 
uint32 Flags
 
int32 AttachmentID
 
DBCPosition3D AttachmentOffset
 
float EnterPreDelay
 
float EnterSpeed
 
float EnterGravity
 
float EnterMinDuration
 
float EnterMaxDuration
 
float EnterMinArcHeight
 
float EnterMaxArcHeight
 
int32 EnterAnimStart
 
int32 EnterAnimLoop
 
int32 RideAnimStart
 
int32 RideAnimLoop
 
int32 RideUpperAnimStart
 
int32 RideUpperAnimLoop
 
float ExitPreDelay
 
float ExitSpeed
 
float ExitGravity
 
float ExitMinDuration
 
float ExitMaxDuration
 
float ExitMinArcHeight
 
float ExitMaxArcHeight
 
int32 ExitAnimStart
 
int32 ExitAnimLoop
 
int32 ExitAnimEnd
 
float PassengerYaw
 
float PassengerPitch
 
float PassengerRoll
 
int32 PassengerAttachmentID
 
int32 VehicleEnterAnim
 
int32 VehicleExitAnim
 
int32 VehicleRideAnimLoop
 
int32 VehicleEnterAnimBone
 
int32 VehicleExitAnimBone
 
int32 VehicleRideAnimLoopBone
 
float VehicleEnterAnimDelay
 
float VehicleExitAnimDelay
 
uint32 VehicleAbilityDisplay
 
uint32 EnterUISoundID
 
uint32 ExitUISoundID
 
uint32 FlagsB
 
float CameraEnteringDelay
 
float CameraEnteringDuration
 
float CameraExitingDelay
 
float CameraExitingDuration
 
DBCPosition3D CameraOffset
 
float CameraPosChaseRate
 
float CameraFacingChaseRate
 
float CameraEnteringZoom
 
float CameraSeatZoomMin
 
float CameraSeatZoomMax
 
uint32 EnterAnimKitID
 
uint32 RideAnimKitID
 
uint32 ExitAnimKitID
 
uint32 VehicleEnterAnimKitID
 
uint32 VehicleRideAnimKitID
 
uint32 VehicleExitAnimKitID
 
uint32 CameraModeID
 
uint32 FlagsC
 
uint32 UISkinFileDataID
 

Member Function Documentation

bool VehicleSeatEntry::CanEnterOrExit ( ) const
inline
1371  {
1372  return ((Flags & VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT) != 0 ||
1373  //If it has anmation for enter/ride, means it can be entered/exited by logic
1375  }
Definition: DBCEnums.h:732
uint32 Flags
Definition: DBCStructure.h:1308
bool VehicleSeatEntry::CanSwitchFromSeat ( ) const
inline
1376 { return (Flags & VEHICLE_SEAT_FLAG_CAN_SWITCH) != 0; }
Definition: DBCEnums.h:733
uint32 Flags
Definition: DBCStructure.h:1308

+ Here is the caller graph for this function:

bool VehicleSeatEntry::IsEjectable ( ) const
inline
1380 { return (FlagsB & VEHICLE_SEAT_FLAG_B_EJECTABLE) != 0; }
Definition: DBCEnums.h:746
uint32 FlagsB
Definition: DBCStructure.h:1349

+ Here is the caller graph for this function:

bool VehicleSeatEntry::IsUsableByOverride ( ) const
inline
Definition: DBCEnums.h:724
Definition: DBCEnums.h:748
Definition: DBCEnums.h:720
Definition: DBCEnums.h:747
Definition: DBCEnums.h:744
uint32 FlagsB
Definition: DBCStructure.h:1349
uint32 Flags
Definition: DBCStructure.h:1308
Definition: DBCEnums.h:750

Member Data Documentation

int32 VehicleSeatEntry::AttachmentID
DBCPosition3D VehicleSeatEntry::AttachmentOffset
float VehicleSeatEntry::CameraEnteringDelay
float VehicleSeatEntry::CameraEnteringDuration
float VehicleSeatEntry::CameraEnteringZoom
float VehicleSeatEntry::CameraExitingDelay
float VehicleSeatEntry::CameraExitingDuration
float VehicleSeatEntry::CameraFacingChaseRate
uint32 VehicleSeatEntry::CameraModeID
DBCPosition3D VehicleSeatEntry::CameraOffset
float VehicleSeatEntry::CameraPosChaseRate
float VehicleSeatEntry::CameraSeatZoomMax
float VehicleSeatEntry::CameraSeatZoomMin
uint32 VehicleSeatEntry::EnterAnimKitID
int32 VehicleSeatEntry::EnterAnimLoop
int32 VehicleSeatEntry::EnterAnimStart
float VehicleSeatEntry::EnterGravity
float VehicleSeatEntry::EnterMaxArcHeight
float VehicleSeatEntry::EnterMaxDuration
float VehicleSeatEntry::EnterMinArcHeight
float VehicleSeatEntry::EnterMinDuration
float VehicleSeatEntry::EnterPreDelay
float VehicleSeatEntry::EnterSpeed
uint32 VehicleSeatEntry::EnterUISoundID
int32 VehicleSeatEntry::ExitAnimEnd
uint32 VehicleSeatEntry::ExitAnimKitID
int32 VehicleSeatEntry::ExitAnimLoop
int32 VehicleSeatEntry::ExitAnimStart
float VehicleSeatEntry::ExitGravity
float VehicleSeatEntry::ExitMaxArcHeight
float VehicleSeatEntry::ExitMaxDuration
float VehicleSeatEntry::ExitMinArcHeight
float VehicleSeatEntry::ExitMinDuration
float VehicleSeatEntry::ExitPreDelay
float VehicleSeatEntry::ExitSpeed
uint32 VehicleSeatEntry::ExitUISoundID
uint32 VehicleSeatEntry::Flags
uint32 VehicleSeatEntry::FlagsB
uint32 VehicleSeatEntry::FlagsC
uint32 VehicleSeatEntry::ID
int32 VehicleSeatEntry::PassengerAttachmentID
float VehicleSeatEntry::PassengerPitch
float VehicleSeatEntry::PassengerRoll
float VehicleSeatEntry::PassengerYaw
uint32 VehicleSeatEntry::RideAnimKitID
int32 VehicleSeatEntry::RideAnimLoop
int32 VehicleSeatEntry::RideAnimStart
int32 VehicleSeatEntry::RideUpperAnimLoop
int32 VehicleSeatEntry::RideUpperAnimStart
uint32 VehicleSeatEntry::UISkinFileDataID
uint32 VehicleSeatEntry::VehicleAbilityDisplay
int32 VehicleSeatEntry::VehicleEnterAnim
int32 VehicleSeatEntry::VehicleEnterAnimBone
float VehicleSeatEntry::VehicleEnterAnimDelay
uint32 VehicleSeatEntry::VehicleEnterAnimKitID
int32 VehicleSeatEntry::VehicleExitAnim
int32 VehicleSeatEntry::VehicleExitAnimBone
float VehicleSeatEntry::VehicleExitAnimDelay
uint32 VehicleSeatEntry::VehicleExitAnimKitID
uint32 VehicleSeatEntry::VehicleRideAnimKitID
int32 VehicleSeatEntry::VehicleRideAnimLoop
int32 VehicleSeatEntry::VehicleRideAnimLoopBone

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