DB/VehicleSeat: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: VehicleSeat == Header Info == Records...................432 Fields.....................29 Record Size...............116 String Block Size...........1 == Notes == This file has been...)
 
Line 16: Line 16:
== Structure ==
== Structure ==


  '''Column Field Type Notes'''
http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h
  1 ID Integer
 
  2 Unknown Integer
  struct VehicleSeatEntry
  3 Unknown Integer Values { -1, 0, 1, 2, 3, 4, 5, 6, 9, 10, 13, 14, 15, 16, 19, 20, 21 }
  {
4 Unknown Bitmask
    uint32 m_ID;                                          // 0
5 Unknown Bitmask
    uint32 m_flags;                                        // 1
6 Unknown Bitmask
    int32  m_attachmentID;                                // 2
7 Unknown Bitmask
    float  m_attachmentOffsetX;                            // 3
8 Unknown Bitmask
    float  m_attachmentOffsetY;                            // 4
9 Unknown Bitmask
    float  m_attachmentOffsetZ;                            // 5
10 Unknown Bitmask
    float  m_enterPreDelay;                                // 6
11 Unknown Bitmask
    float  m_enterSpeed;                                  // 7
12 Unknown Bitmask
    float  m_enterGravity;                                // 8
13 Unknown Bitmask
    float  m_enterMinDuration;                            // 9
14 Unknown Integer Values { -1, 1, 37, 79, 131 }
    float  m_enterMaxDuration;                            // 10
15 Unknown Integer Values { -1, 25, 38, 40, 130, 132 }
    float  m_enterMinArcHeight;                            // 11
16 Unknown Integer Values { -1, 1, 6, 14, 91, 96, 97 }
    float  m_enterMaxArcHeight;                            // 12
17 Unknown Integer Values { -1, 0, 6, 14, 25, 91, 97, 100, 102, 103, 104, 120, 190, 216, 217, 220 }
    int32  m_enterAnimStart;                              // 13
18 Unknown Integer
    int32  m_enterAnimLoop;                                // 14
19 Unknown Integer
    int32  m_rideAnimStart;                                // 15
20 Unknown Bitmask
    int32  m_rideAnimLoop;                                // 16
21 Unknown Bitmask
    int32  m_rideUpperAnimStart;                          // 17
22 Unknown Bitmask
    int32  m_rideUpperAnimLoop;                            // 18
23 Unknown Bitmask
    float  m_exitPreDelay;                                // 19
  24 Unknown Bitmask
    float  m_exitSpeed;                                    // 20
  25 Unknown Bitmask
    float  m_exitGravity;                                  // 21
  26 Unknown Bitmask
    float  m_exitMinDuration;                              // 22
  27 Unknown Integer Values { -1, 1, 37, 195, 218, 219 }
    float  m_exitMaxDuration;                              // 23
  28 Unknown Integer Values { -1, 6, 38, 40 }
    float  m_exitMinArcHeight;                            // 24
  29 Unknown Integer Values { -1, 0, 6, 39, 181 }
    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; }
  };


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

Revision as of 22:40, 14 June 2009

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