DB/WeaponSwingSounds2: Difference between revisions
Jump to navigation
Jump to search
Duikmeester (talk | contribs) |
Barncastle (talk | contribs) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
==Structure== | ==Structure== | ||
'''Column Field Type Notes''' | '''Column Field Type Notes''' | ||
Line 12: | Line 6: | ||
4 iRefID_[[SoundEntries.dbc|SoundEntries]] Integer | 4 iRefID_[[SoundEntries.dbc|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 {{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]] | ||
[[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, };