Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
VehicleSeatEntry Struct Reference

#include <DBCStructure.h>

Public Member Functions

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

Public Attributes

float m_attachmentOffsetX
float m_attachmentOffsetY
float m_attachmentOffsetZ
uint32 m_flags
uint32 m_flagsB
uint32 m_ID

Detailed Description

Definition at line 2861 of file DBCStructure.h.

Member Function Documentation

◆ CanEnterOrExit()

bool VehicleSeatEntry::CanEnterOrExit ( ) const
inline

Definition at line 2910 of file DBCStructure.h.

References m_flags, and VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT.

◆ CanSwitchFromSeat()

bool VehicleSeatEntry::CanSwitchFromSeat ( ) const
inline

◆ IsEjectable()

bool VehicleSeatEntry::IsEjectable ( ) const
inline

Definition at line 2917 of file DBCStructure.h.

References m_flagsB, and VEHICLE_SEAT_FLAG_B_EJECTABLE.

Referenced by WorldSession::HandleEjectPassenger().

◆ IsUsableByOverride()

Member Data Documentation

◆ m_attachmentOffsetX

float VehicleSeatEntry::m_attachmentOffsetX

Definition at line 2866 of file DBCStructure.h.

Referenced by VehicleJoinEvent::Execute().

◆ m_attachmentOffsetY

float VehicleSeatEntry::m_attachmentOffsetY

Definition at line 2867 of file DBCStructure.h.

Referenced by VehicleJoinEvent::Execute().

◆ m_attachmentOffsetZ

float VehicleSeatEntry::m_attachmentOffsetZ

Definition at line 2868 of file DBCStructure.h.

Referenced by VehicleJoinEvent::Execute().

◆ m_flags

◆ m_flagsB

uint32 VehicleSeatEntry::m_flagsB

Definition at line 2907 of file DBCStructure.h.

Referenced by IsEjectable(), and IsUsableByOverride().

◆ m_ID

uint32 VehicleSeatEntry::m_ID

Definition at line 2863 of file DBCStructure.h.


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