DB/VehicleSeat

From wowdev
Revision as of 02:35, 11 July 2014 by Schlumpf (talk | contribs) (add full and correct info for 6.0.1.18179)
Jump to navigation Jump to search

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; }
};

6.0.1.18179

struct VehicleSeatRec {
  int m_ID;
  int m_flags;
  int m_attachmentID;
  float m_attachmentOffset[3];
  float m_enterPreDelay;
  float m_enterSpeed;
  float m_enterGravity;
  float m_enterMinDuration;
  float m_enterMaxDuration;
  float m_enterMinArcHeight;
  float m_enterMaxArcHeight;
  int m_enterAnimStart;
  int m_enterAnimLoop;
  int m_rideAnimStart;
  int m_rideAnimLoop;
  int m_rideUpperAnimStart;
  int m_rideUpperAnimLoop;
  float m_exitPreDelay;
  float m_exitSpeed;
  float m_exitGravity;
  float m_exitMinDuration;
  float m_exitMaxDuration;
  float m_exitMinArcHeight;
  float m_exitMaxArcHeight;
  int m_exitAnimStart;
  int m_exitAnimLoop;
  int m_exitAnimEnd;
  float m_passengerYaw;
  float m_passengerPitch;
  float m_passengerRoll;
  int m_passengerAttachmentID;
  int m_vehicleEnterAnim;
  int m_vehicleExitAnim;
  int m_vehicleRideAnimLoop;
  int m_vehicleEnterAnimBone;
  int m_vehicleExitAnimBone;
  int m_vehicleRideAnimLoopBone;
  float m_vehicleEnterAnimDelay;
  float m_vehicleExitAnimDelay;
  int m_vehicleAbilityDisplay;
  int m_enterUISoundID;
  int m_exitUISoundID;
  int m_flagsB;
  float m_cameraEnteringDelay;
  float m_cameraEnteringDuration;
  float m_cameraExitingDelay;
  float m_cameraExitingDuration;
  float m_cameraOffset[3];
  float m_cameraPosChaseRate;
  float m_cameraFacingChaseRate;
  float m_cameraEnteringZoom;
  float m_cameraSeatZoomMin;
  float m_cameraSeatZoomMax;
  int m_enterAnimKitID;
  int m_rideAnimKitID;
  int m_exitAnimKitID;
  int m_vehicleEnterAnimKitID;
  int m_vehicleRideAnimKitID;
  int m_vehicleExitAnimKitID;
  int m_cameraModeID;
  int m_flagsC;
  int m_uiSkinFileDataID;
};