DB/TerrainType: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Barncastle (talk | contribs) m (→Structure) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== | ==0.5.3.3368, 1.12.1.5875== | ||
struct TerrainTypeRec { | |||
uint32_t m_TerrainID; | |||
{{Template:Type|stringref}} m_TerrainDesc; | |||
uint32_t m_FootstepSprayRun; | |||
uint32_t m_FootstepSprayWalk; | |||
uint32_t m_SoundID; | |||
uint32_t m_Flags; // &:1 Show footprints <code>UnitFootprintNewSplat</code> | |||
}; | |||
==Structure== | ==Structure== | ||
'''Column Field | '''Column Field Type Notes''' | ||
1 ID | 1 ID Integer | ||
2 TerrainDesc | 2 TerrainDesc String Type of ground | ||
3 [[SpellVisualEffectName.dbc|FootstepSprayRun]] Integer | 3 [[SpellVisualEffectName.dbc|FootstepSprayRun]] Integer | ||
4 [[SpellVisualEffectName.dbc|FootstepSprayWalk]] Integer | 4 [[SpellVisualEffectName.dbc|FootstepSprayWalk]] Integer | ||
5 [[TerrainTypeSounds.dbc|Sound]] | 5 [[TerrainTypeSounds.dbc|Sound]] Integer Sound. Yes, this '''IS''' used. | ||
6 Flags | 6 Flags Bool I guess, its footsteps or something as Sand and Snow have it. | ||
==6.0.1.18179== | ==6.0.1.18179== | ||
Line 19: | Line 21: | ||
uint8_t padding_0[4]; | uint8_t padding_0[4]; | ||
uint32_t m_TerrainID; | uint32_t m_TerrainID; | ||
stringref m_TerrainDesc; | {{Template:Type|stringref}} m_TerrainDesc; | ||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_FootstepSprayRun; | |||
{{Template:Type/foreign_key|table=SpellVisualEffectName}} m_FootstepSprayWalk; | |||
{{Template:Type/foreign_key|table=TerrainTypeSounds}} m_SoundID; | |||
enum | |||
{ | |||
flag_have_footsteps = 1, | |||
flag_show_footprint_spray = 2, // ? | |||
}; | |||
uint32_t m_Flags; | uint32_t m_Flags; | ||
}; | }; | ||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Alpha]] | |||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]] | [[Category:DBC_WotLK]] | ||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Latest revision as of 16:58, 9 October 2017
0.5.3.3368, 1.12.1.5875
struct TerrainTypeRec {
uint32_t m_TerrainID;
stringrefⁱ m_TerrainDesc;
uint32_t m_FootstepSprayRun;
uint32_t m_FootstepSprayWalk;
uint32_t m_SoundID;
uint32_t m_Flags; // &:1 Show footprints UnitFootprintNewSplat
};
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; };