DB/TerrainType: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
uint32_t m_TerrainID; | uint32_t m_TerrainID; | ||
stringref m_TerrainDesc; | stringref m_TerrainDesc; | ||
uint32_t m_FootstepSprayRun; | foreign_key<uint32_t, &[[SpellVisualEffectName.dbc|SpellVisualEffectNameRec]]::m_ID> m_FootstepSprayRun; | ||
uint32_t m_FootstepSprayWalk; | foreign_key<uint32_t, &[[SpellVisualEffectName.dbc|SpellVisualEffectNameRec]]::m_ID> m_FootstepSprayWalk; | ||
uint32_t m_SoundID; | foreign_key<uint32_t, &[[TerrainTypeSounds.dbc|TerrainTypeSoundsRec]]::m_ID> m_SoundID; | ||
enum | |||
{ | |||
flag_have_footsteps = 1, | |||
flag_show_footprint_spray = 2, // ? | |||
}; | |||
uint32_t m_Flags; | |||
}; | }; | ||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_WotLK]] | [[Category:DBC_WotLK]] | ||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] | [[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Revision as of 23:54, 17 August 2015
Header Info
Records....................11 Fields......................6 Record Size................24 String Block Size..........71
Structure
Column Field Type Notes 1 ID Integer 2 TerrainDesc String Type of ground 3 FootstepSprayRun Integer 4 FootstepSprayWalk Integer 5 Sound Integer Sound. Yes, this IS used. 6 Flags Bool I guess, its footsteps or something as Sand and Snow have it.
6.0.1.18179
struct TerrainTypeRec { uint8_t padding_0[4]; uint32_t m_TerrainID; stringref m_TerrainDesc; foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_FootstepSprayRun; foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_FootstepSprayWalk; foreign_key<uint32_t, &TerrainTypeSoundsRec::m_ID> m_SoundID; enum { flag_have_footsteps = 1, flag_show_footprint_spray = 2, // ? }; uint32_t m_Flags; };