DB/WeaponSwingSounds2: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 17: Line 17:
  struct WeaponSwingSounds2Rec {
  struct WeaponSwingSounds2Rec {
   uint32_t m_ID;
   uint32_t m_ID;
   uint32_t m_SwingType;
   uint32_t m_SwingType;                                     // 0 = light (knife), 1 = medium (1H sword/axe), 2 = heavy (2H sword/axe), WEAPONSWING_SOUNDTYPES,
   uint32_t m_Crit;
                                                              // match with [[ItemSubClass.dbc|ItemSubClassRec]]::m_WeaponSwingSize
   uint32_t m_SoundID;
   uint32_t m_Crit;                                           // boolean
   foreign_key<uint32_t, &[[SoundEntries.dbc|SoundEntriesRec]]::m_ID> m_SoundID;
  };
  };
[[Category:DBC]]
[[Category:DBC]]

Revision as of 23:11, 18 August 2015

Header Info

Records.....................6
Fields......................4
Record Size................16
String Block Size...........1

Structure

Column 	Field 			Type 		Notes 
1 	ID 			Integer 	
2 	weight 			Integer 	0 = light (knife), 1 = medium (1H sword/axe), 2 = heavy (2H sword/axe)
3 	critical 		Boolean 	critical hit = 1 
4 	iRefID_SoundEntries 	Integer 	

Retrieved from "http://www.sourcepeek.com/wiki/WeaponSwingSounds2.dbc"

6.0.1.18179

struct WeaponSwingSounds2Rec {
  uint32_t m_ID;
  uint32_t m_SwingType;                                      // 0 = light (knife), 1 = medium (1H sword/axe), 2 = heavy (2H sword/axe), WEAPONSWING_SOUNDTYPES, 
                                                             // match with ItemSubClassRec::m_WeaponSwingSize
  uint32_t m_Crit;                                           // boolean
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_SoundID;
};