DB/VehicleSeat: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 17: Line 17:


http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h
http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h
struct VehicleSeatEntry // sizeof(0x100)
{
    m_ID; // +0x0, size 0x4, type 0
    m_flags; // +0x4, size 0x4, type 0
    m_attachmentID; // +0x8, size 0x4, type 0
    m_attachmentOffsetX; // +0xC, size 0x4, type 3
    m_attachmentOffsetY; // +0x10, size 0x4, type 3
    m_attachmentOffsetZ; // +0x14, size 0x4, type 3
    m_enterPreDelay; // +0x18, size 0x4, type 3
    m_enterSpeed; // +0x1C, size 0x4, type 3
    m_enterGravity; // +0x20, size 0x4, type 3
    m_enterMinDuration; // +0x24, size 0x4, type 3
    m_enterMaxDuration; // +0x28, size 0x4, type 3
    m_enterMinArcHeight; // +0x2C, size 0x4, type 3
    m_enterMaxArcHeight; // +0x30, size 0x4, type 3
    m_enterAnimStart; // +0x34, size 0x4, type 0
    m_enterAnimLoop; // +0x38, size 0x4, type 0
    m_rideAnimStart; // +0x3C, size 0x4, type 0
    m_rideAnimLoop; // +0x40, size 0x4, type 0
    m_rideUpperAnimStart; // +0x44, size 0x4, type 0
    m_rideUpperAnimLoop; // +0x48, size 0x4, type 0
    m_exitPreDelay; // +0x4C, size 0x4, type 3
    m_exitSpeed; // +0x50, size 0x4, type 3
    m_exitGravity; // +0x54, size 0x4, type 3
    m_exitMinDuration; // +0x58, size 0x4, type 3
    m_exitMaxDuration; // +0x5C, size 0x4, type 3
    m_exitMinArcHeight; // +0x60, size 0x4, type 3
    m_exitMaxArcHeight; // +0x64, size 0x4, type 3
    m_exitAnimStart; // +0x68, size 0x4, type 0
    m_exitAnimLoop; // +0x6C, size 0x4, type 0
    m_exitAnimEnd; // +0x70, size 0x4, type 0
    m_passengerYaw; // +0x74, size 0x4, type 3
    m_passengerPitch; // +0x78, size 0x4, type 3
    m_passengerRoll; // +0x7C, size 0x4, type 3
    m_passengerAttachmentID; // +0x80, size 0x4, type 0
    m_vehicleEnterAnim; // +0x84, size 0x4, type 0
    m_vehicleExitAnim; // +0x88, size 0x4, type 0
    m_vehicleRideAnimLoop; // +0x8C, size 0x4, type 0
    m_vehicleEnterAnimBone; // +0x90, size 0x4, type 0
    m_vehicleExitAnimBone; // +0x94, size 0x4, type 0
    m_vehicleRideAnimLoopBone; // +0x98, size 0x4, type 0
    m_vehicleEnterAnimDelay; // +0x9C, size 0x4, type 3
    m_vehicleExitAnimDelay; // +0xA0, size 0x4, type 3
    m_vehicleAbilityDisplay; // +0xA4, size 0x4, type 0
    m_enterUISoundID; // +0xA8, size 0x4, type 0
    m_exitUISoundID; // +0xAC, size 0x4, type 0
    m_uiSkin; // +0xB0, size 0x4, type 0
    m_flagsB; // +0xB4, size 0x4, type 0
    m_cameraEnteringDelay; // +0xB8, size 0x4, type 3
    m_cameraEnteringDuration; // +0xBC, size 0x4, type 3
    m_cameraExitingDelay; // +0xC0, size 0x4, type 3
    m_cameraExitingDuration; // +0xC4, size 0x4, type 3
    m_cameraOffsetX; // +0xC8, size 0x4, type 3
    m_cameraOffsetY; // +0xCC, size 0x4, type 3
    m_cameraOffsetZ; // +0xD0, size 0x4, type 3
    m_cameraPosChaseRate; // +0xD4, size 0x4, type 3
    m_cameraFacingChaseRate; // +0xD8, size 0x4, type 3
    m_cameraEnteringZoom; // +0xDC, size 0x4, type 3
    m_cameraSeatZoomMin; // +0xE0, size 0x4, type 3
    m_cameraSeatZoomMax; // +0xE4, size 0x4, type 3
    m_enterAnimKitID; // +0xE8, size 0x4, type 0
    m_rideAnimKitID; // +0xEC, size 0x4, type 0
    m_exitAnimKitID; // +0xF0, size 0x4, type 0
    m_vehicleEnterAnimKitID; // +0xF4, size 0x4, type 0
    m_vehicleRideAnimKitID; // +0xF8, size 0x4, type 0
    m_vehicleExitAnimKitID; // +0xFC, size 0x4, type 0


struct VehicleSeatEntry
{
    uint32  m_ID;                                          // 0
    uint32  m_flags;                                        // 1
    int32  m_attachmentID;                                // 2
    float  m_attachmentOffsetX;                            // 3
    float  m_attachmentOffsetY;                            // 4
    float  m_attachmentOffsetZ;                            // 5
    float  m_enterPreDelay;                                // 6
    float  m_enterSpeed;                                  // 7
    float  m_enterGravity;                                // 8
    float  m_enterMinDuration;                            // 9
    float  m_enterMaxDuration;                            // 10
    float  m_enterMinArcHeight;                            // 11
    float  m_enterMaxArcHeight;                            // 12
    int32  m_enterAnimStart;                              // 13
    int32  m_enterAnimLoop;                                // 14
    int32  m_rideAnimStart;                                // 15
    int32  m_rideAnimLoop;                                // 16
    int32  m_rideUpperAnimStart;                          // 17
    int32  m_rideUpperAnimLoop;                            // 18
    float  m_exitPreDelay;                                // 19
    float  m_exitSpeed;                                    // 20
    float  m_exitGravity;                                  // 21
    float  m_exitMinDuration;                              // 22
    float  m_exitMaxDuration;                              // 23
    float  m_exitMinArcHeight;                            // 24
    float  m_exitMaxArcHeight;                            // 25
    int32  m_exitAnimStart;                                // 26
    int32  m_exitAnimLoop;                                // 27
    int32  m_exitAnimEnd;                                  // 28
    float  m_passengerYaw;                                // 29
    float  m_passengerPitch;                              // 30
    float  m_passengerRoll;                                // 31
    int32  m_passengerAttachmentID;                        // 32
    int32  m_vehicleEnterAnim;                            // 33
    int32  m_vehicleExitAnim;                              // 34
    int32  m_vehicleRideAnimLoop;                          // 35
    int32  m_vehicleEnterAnimBone;                        // 36
    int32  m_vehicleExitAnimBone;                          // 37
    int32  m_vehicleRideAnimLoopBone;                      // 38
    float  m_vehicleEnterAnimDelay;                        // 39
    float  m_vehicleExitAnimDelay;                        // 40
    uint32  m_vehicleAbilityDisplay;                        // 41
    uint32  m_enterUISoundID;                              // 42
    uint32  m_exitUISoundID;                                // 43
    int32  m_uiSkin;                                      // 44
    uint32  m_flagsB;                                      // 45
                                                            // 46-57 added in 3.1, floats mostly
     bool IsUsable() const { return m_flags & 0x2000000; }
     bool IsUsable() const { return m_flags & 0x2000000; }
  };
  };


[[Category:DBC]]
[[Category:DBC]]

Revision as of 20:19, 16 April 2011

VehicleSeat

Header Info

Records...................432
Fields.....................29
Record Size...............116
String Block Size...........1

Notes

This file has been added with WoW 3.0.1.8303

Last updated against: WoW 3.0.1.8334

Structure

http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h

struct VehicleSeatEntry // sizeof(0x100)
{
   m_ID; // +0x0, size 0x4, type 0
   m_flags; // +0x4, size 0x4, type 0
   m_attachmentID; // +0x8, size 0x4, type 0
   m_attachmentOffsetX; // +0xC, size 0x4, type 3
   m_attachmentOffsetY; // +0x10, size 0x4, type 3
   m_attachmentOffsetZ; // +0x14, size 0x4, type 3
   m_enterPreDelay; // +0x18, size 0x4, type 3
   m_enterSpeed; // +0x1C, size 0x4, type 3
   m_enterGravity; // +0x20, size 0x4, type 3
   m_enterMinDuration; // +0x24, size 0x4, type 3
   m_enterMaxDuration; // +0x28, size 0x4, type 3
   m_enterMinArcHeight; // +0x2C, size 0x4, type 3
   m_enterMaxArcHeight; // +0x30, size 0x4, type 3
   m_enterAnimStart; // +0x34, size 0x4, type 0
   m_enterAnimLoop; // +0x38, size 0x4, type 0
   m_rideAnimStart; // +0x3C, size 0x4, type 0
   m_rideAnimLoop; // +0x40, size 0x4, type 0
   m_rideUpperAnimStart; // +0x44, size 0x4, type 0
   m_rideUpperAnimLoop; // +0x48, size 0x4, type 0
   m_exitPreDelay; // +0x4C, size 0x4, type 3
   m_exitSpeed; // +0x50, size 0x4, type 3
   m_exitGravity; // +0x54, size 0x4, type 3
   m_exitMinDuration; // +0x58, size 0x4, type 3
   m_exitMaxDuration; // +0x5C, size 0x4, type 3
   m_exitMinArcHeight; // +0x60, size 0x4, type 3
   m_exitMaxArcHeight; // +0x64, size 0x4, type 3
   m_exitAnimStart; // +0x68, size 0x4, type 0
   m_exitAnimLoop; // +0x6C, size 0x4, type 0
   m_exitAnimEnd; // +0x70, size 0x4, type 0
   m_passengerYaw; // +0x74, size 0x4, type 3
   m_passengerPitch; // +0x78, size 0x4, type 3
   m_passengerRoll; // +0x7C, size 0x4, type 3
   m_passengerAttachmentID; // +0x80, size 0x4, type 0
   m_vehicleEnterAnim; // +0x84, size 0x4, type 0
   m_vehicleExitAnim; // +0x88, size 0x4, type 0
   m_vehicleRideAnimLoop; // +0x8C, size 0x4, type 0
   m_vehicleEnterAnimBone; // +0x90, size 0x4, type 0
   m_vehicleExitAnimBone; // +0x94, size 0x4, type 0
   m_vehicleRideAnimLoopBone; // +0x98, size 0x4, type 0
   m_vehicleEnterAnimDelay; // +0x9C, size 0x4, type 3
   m_vehicleExitAnimDelay; // +0xA0, size 0x4, type 3
   m_vehicleAbilityDisplay; // +0xA4, size 0x4, type 0
   m_enterUISoundID; // +0xA8, size 0x4, type 0
   m_exitUISoundID; // +0xAC, size 0x4, type 0
   m_uiSkin; // +0xB0, size 0x4, type 0
   m_flagsB; // +0xB4, size 0x4, type 0
   m_cameraEnteringDelay; // +0xB8, size 0x4, type 3
   m_cameraEnteringDuration; // +0xBC, size 0x4, type 3
   m_cameraExitingDelay; // +0xC0, size 0x4, type 3
   m_cameraExitingDuration; // +0xC4, size 0x4, type 3
   m_cameraOffsetX; // +0xC8, size 0x4, type 3
   m_cameraOffsetY; // +0xCC, size 0x4, type 3
   m_cameraOffsetZ; // +0xD0, size 0x4, type 3
   m_cameraPosChaseRate; // +0xD4, size 0x4, type 3
   m_cameraFacingChaseRate; // +0xD8, size 0x4, type 3
   m_cameraEnteringZoom; // +0xDC, size 0x4, type 3
   m_cameraSeatZoomMin; // +0xE0, size 0x4, type 3
   m_cameraSeatZoomMax; // +0xE4, size 0x4, type 3
   m_enterAnimKitID; // +0xE8, size 0x4, type 0
   m_rideAnimKitID; // +0xEC, size 0x4, type 0
   m_exitAnimKitID; // +0xF0, size 0x4, type 0
   m_vehicleEnterAnimKitID; // +0xF4, size 0x4, type 0
   m_vehicleRideAnimKitID; // +0xF8, size 0x4, type 0
   m_vehicleExitAnimKitID; // +0xFC, size 0x4, type 0
    bool IsUsable() const { return m_flags & 0x2000000; }
};