DB/FootstepTerrainLookup: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Lookup by first getting the {{Template:DBRef|table=TerrainType}} and the respective {{Template:DBField|table=TerrainTypeSounds|column=m_ID}}. For this, and the given creature footstep ID, lookup in here, which {{Template:DBRef|table=SoundEntries}} to use. | Lookup by first getting the {{Template:DBRef|table=TerrainType}} and the respective {{Template:DBField|table=TerrainTypeSounds|column=m_ID}}. For this, and the given creature footstep ID, lookup in here, which {{Template:DBRef|table=SoundEntries}} to use. | ||
==0.5.3.3368== | |||
struct FootstepTerrainLookupRec { | |||
uint32_t m_ID; | |||
uint32_t m_CreatureFootstepID; | |||
uint32_t m_TerrainSoundID; | |||
uint32_t m_SoundID; | |||
uint32_t m_SoundIDSplash; | |||
}; | |||
==Structure== | ==Structure== | ||
'''Column Field Type''' | '''Column Field Type''' |
Revision as of 16:39, 5 June 2016
Lookup by first getting the TerrainTypeRec and the respective TerrainTypeSoundsRec::m_ID. For this, and the given creature footstep ID, lookup in here, which SoundEntriesRec to use.
0.5.3.3368
struct FootstepTerrainLookupRec { uint32_t m_ID; uint32_t m_CreatureFootstepID; uint32_t m_TerrainSoundID; uint32_t m_SoundID; uint32_t m_SoundIDSplash; };
Structure
Column Field Type 1 ID Integer 2 iRefID_GroundEffectDoodad Integer 3 iRefID_TerrainType Integer 4 iRefID_SoundEntries_dry Integer 5 iRefID_SoundEntries_wet Integer
6.0.1.18179
struct FootstepTerrainLookupRec { uint32_t m_ID; uint32_t m_CreatureFootstepID; // for this creature footstep id (from CreatureSoundDataRec::m_soundFootstepID) foreign_keyⁱ<uint32_t, &TerrainTypeSoundsRec::m_ID> m_TerrainSoundID; // and this terrain sound type foreign_keyⁱ<uint32_t, &SoundEntriesRec::m_ID> m_SoundID; // use these sounds foreign_keyⁱ<uint32_t, &SoundEntriesRec::m_ID> m_SoundIDSplash; };