DB/WeaponSwingSounds2

From wowdev
Jump to: navigation, search

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 	

0.5.3.3368, 1.12.1.5875, 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;
};

enum WEAPONSWING_SOUNDTYPES
{
  WEAPONSWING_LIGHT = 0x0,
  WEAPONSWING_MEDIUM = 0x1,
  WEAPONSWING_HEAVY = 0x2,
  NUM_WEAPONSWINGSOUNDTYPES = 0x3,
  WEAPONSWING_UNUSED = 0xFFFFFFFF,
};