DB/WeaponSwingSounds2: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: ==Header Info == Records.....................6 Fields......................4 Record Size................16 String Block Size...........1 ==Structure== '''Column Field Type Note...)
 
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Header Info ==
Records.....................6
Fields......................4
Record Size................16
String Block Size...........1
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 ID Integer
  1 ID Integer
  2 Unknown Integer Q: internal index (array setup)?
  2 weight Integer 0 = light (knife), 1 = medium (1H sword/axe), 2 = heavy (2H sword/axe)
  3 Unknown Boolean critical hit = 1  
  3 critical Boolean critical hit = 1  
  4 iRefID_[[SoundEntries.dbc|SoundEntries]] Integer
  4 iRefID_[[SoundEntries.dbc|SoundEntries]] Integer


Retrieved from "http://www.sourcepeek.com/wiki/WeaponSwingSounds2.dbc"
==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 {{Template:DBField|table=ItemSubClass|column=m_WeaponSwingSize}}
  uint32_t m_Crit;                                          // boolean
  {{Template:Type/foreign_key|table=SoundEntries}} m_SoundID;
};
enum WEAPONSWING_SOUNDTYPES
{
  WEAPONSWING_LIGHT = 0x0,
  WEAPONSWING_MEDIUM = 0x1,
  WEAPONSWING_HEAVY = 0x2,
  NUM_WEAPONSWINGSOUNDTYPES = 0x3,
  WEAPONSWING_UNUSED = 0xFFFFFFFF,
};
[[Category:DBC]]
[[Category:DBC_Alpha]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]]
[[Category:6.0.1.18179]]

Latest revision as of 15:33, 3 October 2017

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