DB/WeaponSwingSounds2: Difference between revisions

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

Revision as of 01:43, 13 February 2016

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