DB/SpellVisualKitModelAttach

From wowdev
Jump to navigation Jump to search

≥ Wrath

struct SpellVisualKitModelAttachRec {
   uint32_t m_ID;
   foreign_key<uint32_t, &SpellVisualKitRec::m_ID> m_parentSpellVisualKitID; 
   foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_spellVisualEffectNameID; 
   uint32_t m_attachmentID;                                                           // the parent model's attachment, -1 for model's base position
   float m_offsetX;                                                                   // relative to the attachment
   float m_offsetY; 
   float m_offsetZ; 
   float m_yaw;                                                           // the three rotations seem to be in radians
   float m_pitch;
   float m_roll;
};


≥ Cata

Column Field Type Notes
1 ID Integer
2 Parent SpellVisualKit ID iRefID
3 SpellVisualEffectName ID iRefID
4 Attachment ID Integer the parent model's attachment, -1 for model's base position
5 Offset X Float Relative to the attachment
6 Offset Y Float
7 Offset Z Float
8 Yaw Float In radians
9 Pitch Float
10 Roll Float
11 Unk Integer
12 Animation (Birth) iRefID Animation for the attached model to play once when it is spawned
13 Animation (Hold) iRefID Animation of the attached model while it is 'on' the character
14 Animation (Decay) iRefID Animation for the attached model to play as it despawns