DB/VehicleSeat: Difference between revisions

From wowdev
Jump to navigation Jump to search
(add full and correct info for 6.0.1.18179)
mNo edit summary
Line 89: Line 89:
==6.0.1.18179==
==6.0.1.18179==
  struct VehicleSeatRec {
  struct VehicleSeatRec {
   int m_ID;
   uint32_t m_ID;
   int m_flags;
   uint32_t m_flags;
   int m_attachmentID;
   uint32_t m_attachmentID;
   float m_attachmentOffset[3];
   float m_attachmentOffset[3];
   float m_enterPreDelay;
   float m_enterPreDelay;
Line 100: Line 100:
   float m_enterMinArcHeight;
   float m_enterMinArcHeight;
   float m_enterMaxArcHeight;
   float m_enterMaxArcHeight;
   int m_enterAnimStart;
   uint32_t m_enterAnimStart;
   int m_enterAnimLoop;
   uint32_t m_enterAnimLoop;
   int m_rideAnimStart;
   uint32_t m_rideAnimStart;
   int m_rideAnimLoop;
   uint32_t m_rideAnimLoop;
   int m_rideUpperAnimStart;
   uint32_t m_rideUpperAnimStart;
   int m_rideUpperAnimLoop;
   uint32_t m_rideUpperAnimLoop;
   float m_exitPreDelay;
   float m_exitPreDelay;
   float m_exitSpeed;
   float m_exitSpeed;
Line 113: Line 113:
   float m_exitMinArcHeight;
   float m_exitMinArcHeight;
   float m_exitMaxArcHeight;
   float m_exitMaxArcHeight;
   int m_exitAnimStart;
   uint32_t m_exitAnimStart;
   int m_exitAnimLoop;
   uint32_t m_exitAnimLoop;
   int m_exitAnimEnd;
   uint32_t m_exitAnimEnd;
   float m_passengerYaw;
   float m_passengerYaw;
   float m_passengerPitch;
   float m_passengerPitch;
   float m_passengerRoll;
   float m_passengerRoll;
   int m_passengerAttachmentID;
   uint32_t m_passengerAttachmentID;
   int m_vehicleEnterAnim;
   uint32_t m_vehicleEnterAnim;
   int m_vehicleExitAnim;
   uint32_t m_vehicleExitAnim;
   int m_vehicleRideAnimLoop;
   uint32_t m_vehicleRideAnimLoop;
   int m_vehicleEnterAnimBone;
   uint32_t m_vehicleEnterAnimBone;
   int m_vehicleExitAnimBone;
   uint32_t m_vehicleExitAnimBone;
   int m_vehicleRideAnimLoopBone;
   uint32_t m_vehicleRideAnimLoopBone;
   float m_vehicleEnterAnimDelay;
   float m_vehicleEnterAnimDelay;
   float m_vehicleExitAnimDelay;
   float m_vehicleExitAnimDelay;
   int m_vehicleAbilityDisplay;
   uint32_t m_vehicleAbilityDisplay;
   int m_enterUISoundID;
   uint32_t m_enterUISoundID;
   int m_exitUISoundID;
   uint32_t m_exitUISoundID;
   int m_flagsB;
   uint32_t m_flagsB;
   float m_cameraEnteringDelay;
   float m_cameraEnteringDelay;
   float m_cameraEnteringDuration;
   float m_cameraEnteringDuration;
Line 142: Line 142:
   float m_cameraSeatZoomMin;
   float m_cameraSeatZoomMin;
   float m_cameraSeatZoomMax;
   float m_cameraSeatZoomMax;
   int m_enterAnimKitID;
   uint32_t m_enterAnimKitID;
   int m_rideAnimKitID;
   uint32_t m_rideAnimKitID;
   int m_exitAnimKitID;
   uint32_t m_exitAnimKitID;
   int m_vehicleEnterAnimKitID;
   uint32_t m_vehicleEnterAnimKitID;
   int m_vehicleRideAnimKitID;
   uint32_t m_vehicleRideAnimKitID;
   int m_vehicleExitAnimKitID;
   uint32_t m_vehicleExitAnimKitID;
   int m_cameraModeID;
   uint32_t m_cameraModeID;
   int m_flagsC;
   uint32_t m_flagsC;
   int m_uiSkinFileDataID;
   uint32_t m_uiSkinFileDataID;
  };
  };
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_WotLK]]
[[Category:DBC_WotLK]]

Revision as of 21:24, 2 November 2014

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 {
  uint32_t m_ID;
  uint32_t m_flags;
  uint32_t 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;
  uint32_t m_enterAnimStart;
  uint32_t m_enterAnimLoop;
  uint32_t m_rideAnimStart;
  uint32_t m_rideAnimLoop;
  uint32_t m_rideUpperAnimStart;
  uint32_t m_rideUpperAnimLoop;
  float m_exitPreDelay;
  float m_exitSpeed;
  float m_exitGravity;
  float m_exitMinDuration;
  float m_exitMaxDuration;
  float m_exitMinArcHeight;
  float m_exitMaxArcHeight;
  uint32_t m_exitAnimStart;
  uint32_t m_exitAnimLoop;
  uint32_t m_exitAnimEnd;
  float m_passengerYaw;
  float m_passengerPitch;
  float m_passengerRoll;
  uint32_t m_passengerAttachmentID;
  uint32_t m_vehicleEnterAnim;
  uint32_t m_vehicleExitAnim;
  uint32_t m_vehicleRideAnimLoop;
  uint32_t m_vehicleEnterAnimBone;
  uint32_t m_vehicleExitAnimBone;
  uint32_t m_vehicleRideAnimLoopBone;
  float m_vehicleEnterAnimDelay;
  float m_vehicleExitAnimDelay;
  uint32_t m_vehicleAbilityDisplay;
  uint32_t m_enterUISoundID;
  uint32_t m_exitUISoundID;
  uint32_t 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;
  uint32_t m_enterAnimKitID;
  uint32_t m_rideAnimKitID;
  uint32_t m_exitAnimKitID;
  uint32_t m_vehicleEnterAnimKitID;
  uint32_t m_vehicleRideAnimKitID;
  uint32_t m_vehicleExitAnimKitID;
  uint32_t m_cameraModeID;
  uint32_t m_flagsC;
  uint32_t m_uiSkinFileDataID;
};