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

#include "DBCStructure.h"

Public Member Functions

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

Public Attributes

uint32 m_ID
 
uint32 m_flags
 
int32 m_attachmentID
 
float m_attachmentOffsetX
 
float m_attachmentOffsetY
 
float m_attachmentOffsetZ
 
float m_enterPreDelay
 
float m_enterSpeed
 
float m_enterGravity
 
float m_enterMinDuration
 
float m_enterMaxDuration
 
float m_enterMinArcHeight
 
float m_enterMaxArcHeight
 
int32 m_enterAnimStart
 
int32 m_enterAnimLoop
 
int32 m_rideAnimStart
 
int32 m_rideAnimLoop
 
int32 m_rideUpperAnimStart
 
int32 m_rideUpperAnimLoop
 
float m_exitPreDelay
 
float m_exitSpeed
 
float m_exitGravity
 
float m_exitMinDuration
 
float m_exitMaxDuration
 
float m_exitMinArcHeight
 
float m_exitMaxArcHeight
 
int32 m_exitAnimStart
 
int32 m_exitAnimLoop
 
int32 m_exitAnimEnd
 
float m_passengerYaw
 
float m_passengerPitch
 
float m_passengerRoll
 
int32 m_passengerAttachmentID
 
int32 m_vehicleEnterAnim
 
int32 m_vehicleExitAnim
 
int32 m_vehicleRideAnimLoop
 
int32 m_vehicleEnterAnimBone
 
int32 m_vehicleExitAnimBone
 
int32 m_vehicleRideAnimLoopBone
 
float m_vehicleEnterAnimDelay
 
float m_vehicleExitAnimDelay
 
uint32 m_vehicleAbilityDisplay
 
uint32 m_enterUISoundID
 
uint32 m_exitUISoundID
 
int32 m_uiSkin
 
uint32 m_flagsB
 

Detailed Description

Member Function Documentation

◆ CanControl()

bool VehicleSeatEntry::CanControl ( ) const
inline
2127{ return (m_flags & VEHICLE_SEAT_FLAG_CAN_CONTROL) != 0; }
@ VEHICLE_SEAT_FLAG_CAN_CONTROL
Definition: DBCEnums.h:455
uint32 m_flags
Definition: DBCStructure.h:2066

References m_flags, and VEHICLE_SEAT_FLAG_CAN_CONTROL.

Referenced by Player::ProcessTerrainStatusUpdate().

◆ CanEnterOrExit()

bool VehicleSeatEntry::CanEnterOrExit ( ) const
inline
2114 {
2116 //If it has anmation for enter/ride, means it can be entered/exited by logic
2118 }
@ VEHICLE_SEAT_FLAG_HAS_LOWER_ANIM_FOR_ENTER
Definition: DBCEnums.h:444
@ VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT
Definition: DBCEnums.h:469
@ VEHICLE_SEAT_FLAG_HAS_LOWER_ANIM_FOR_RIDE
Definition: DBCEnums.h:445

References m_flags, VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT, VEHICLE_SEAT_FLAG_HAS_LOWER_ANIM_FOR_ENTER, and VEHICLE_SEAT_FLAG_HAS_LOWER_ANIM_FOR_RIDE.

◆ CanSwitchFromSeat()

bool VehicleSeatEntry::CanSwitchFromSeat ( ) const
inline
@ VEHICLE_SEAT_FLAG_CAN_SWITCH
Definition: DBCEnums.h:470

References m_flags, and VEHICLE_SEAT_FLAG_CAN_SWITCH.

Referenced by WorldSession::HandleChangeSeatsOnControlledVehicle().

◆ IsEjectable()

bool VehicleSeatEntry::IsEjectable ( ) const
inline
@ VEHICLE_SEAT_FLAG_B_EJECTABLE
Definition: DBCEnums.h:483
uint32 m_flagsB
Definition: DBCStructure.h:2110

References m_flagsB, and VEHICLE_SEAT_FLAG_B_EJECTABLE.

Referenced by WorldSession::HandleEjectPassenger().

◆ IsUsableByOverride()

bool VehicleSeatEntry::IsUsableByOverride ( ) const
inline
2121 {
2125 }
@ VEHICLE_SEAT_FLAG_UNCONTROLLED
Definition: DBCEnums.h:457
@ VEHICLE_SEAT_FLAG_UNK18
Definition: DBCEnums.h:461
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED
Definition: DBCEnums.h:481
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED_3
Definition: DBCEnums.h:485
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED_2
Definition: DBCEnums.h:484
@ VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4
Definition: DBCEnums.h:487

References m_flags, m_flagsB, VEHICLE_SEAT_FLAG_B_USABLE_FORCED, VEHICLE_SEAT_FLAG_B_USABLE_FORCED_2, VEHICLE_SEAT_FLAG_B_USABLE_FORCED_3, VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4, VEHICLE_SEAT_FLAG_UNCONTROLLED, and VEHICLE_SEAT_FLAG_UNK18.

Member Data Documentation

◆ m_attachmentID

int32 VehicleSeatEntry::m_attachmentID

◆ m_attachmentOffsetX

float VehicleSeatEntry::m_attachmentOffsetX

◆ m_attachmentOffsetY

float VehicleSeatEntry::m_attachmentOffsetY

◆ m_attachmentOffsetZ

float VehicleSeatEntry::m_attachmentOffsetZ

◆ m_enterAnimLoop

int32 VehicleSeatEntry::m_enterAnimLoop

◆ m_enterAnimStart

int32 VehicleSeatEntry::m_enterAnimStart

◆ m_enterGravity

float VehicleSeatEntry::m_enterGravity

◆ m_enterMaxArcHeight

float VehicleSeatEntry::m_enterMaxArcHeight

◆ m_enterMaxDuration

float VehicleSeatEntry::m_enterMaxDuration

◆ m_enterMinArcHeight

float VehicleSeatEntry::m_enterMinArcHeight

◆ m_enterMinDuration

float VehicleSeatEntry::m_enterMinDuration

◆ m_enterPreDelay

float VehicleSeatEntry::m_enterPreDelay

◆ m_enterSpeed

float VehicleSeatEntry::m_enterSpeed

◆ m_enterUISoundID

uint32 VehicleSeatEntry::m_enterUISoundID

◆ m_exitAnimEnd

int32 VehicleSeatEntry::m_exitAnimEnd

◆ m_exitAnimLoop

int32 VehicleSeatEntry::m_exitAnimLoop

◆ m_exitAnimStart

int32 VehicleSeatEntry::m_exitAnimStart

◆ m_exitGravity

float VehicleSeatEntry::m_exitGravity

◆ m_exitMaxArcHeight

float VehicleSeatEntry::m_exitMaxArcHeight

◆ m_exitMaxDuration

float VehicleSeatEntry::m_exitMaxDuration

◆ m_exitMinArcHeight

float VehicleSeatEntry::m_exitMinArcHeight

◆ m_exitMinDuration

float VehicleSeatEntry::m_exitMinDuration

◆ m_exitPreDelay

float VehicleSeatEntry::m_exitPreDelay

◆ m_exitSpeed

float VehicleSeatEntry::m_exitSpeed

◆ m_exitUISoundID

uint32 VehicleSeatEntry::m_exitUISoundID

◆ m_flags

◆ m_flagsB

uint32 VehicleSeatEntry::m_flagsB

Referenced by IsEjectable(), and IsUsableByOverride().

◆ m_ID

uint32 VehicleSeatEntry::m_ID

Referenced by Vehicle::AddPassenger().

◆ m_passengerAttachmentID

int32 VehicleSeatEntry::m_passengerAttachmentID

◆ m_passengerPitch

float VehicleSeatEntry::m_passengerPitch

◆ m_passengerRoll

float VehicleSeatEntry::m_passengerRoll

◆ m_passengerYaw

float VehicleSeatEntry::m_passengerYaw

◆ m_rideAnimLoop

int32 VehicleSeatEntry::m_rideAnimLoop

◆ m_rideAnimStart

int32 VehicleSeatEntry::m_rideAnimStart

◆ m_rideUpperAnimLoop

int32 VehicleSeatEntry::m_rideUpperAnimLoop

◆ m_rideUpperAnimStart

int32 VehicleSeatEntry::m_rideUpperAnimStart

◆ m_uiSkin

int32 VehicleSeatEntry::m_uiSkin

◆ m_vehicleAbilityDisplay

uint32 VehicleSeatEntry::m_vehicleAbilityDisplay

◆ m_vehicleEnterAnim

int32 VehicleSeatEntry::m_vehicleEnterAnim

◆ m_vehicleEnterAnimBone

int32 VehicleSeatEntry::m_vehicleEnterAnimBone

◆ m_vehicleEnterAnimDelay

float VehicleSeatEntry::m_vehicleEnterAnimDelay

◆ m_vehicleExitAnim

int32 VehicleSeatEntry::m_vehicleExitAnim

◆ m_vehicleExitAnimBone

int32 VehicleSeatEntry::m_vehicleExitAnimBone

◆ m_vehicleExitAnimDelay

float VehicleSeatEntry::m_vehicleExitAnimDelay

◆ m_vehicleRideAnimLoop

int32 VehicleSeatEntry::m_vehicleRideAnimLoop

◆ m_vehicleRideAnimLoopBone

int32 VehicleSeatEntry::m_vehicleRideAnimLoopBone