DB/FootstepTerrainLookup: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: ==Header Info== Records...................190 Fields......................5 Record Size................20 String Block Size...........1 ==Structure== '''Column Field Type''' 1...)
 
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Header Info==
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.
Records...................190
Fields......................5
Record Size................20
String Block Size...........1


==Structure==
==Structure==
  '''Column Field Type'''  
  '''Column Field Type'''  
  1 ID Integer
  1 ID Integer
  2 iRefID_GroundEffectDoodad Integer
  2 iRefID_[[GroundEffectDoodad.dbc|GroundEffectDoodad]] Integer
  3 iRefID_TerrainType Integer
  3 iRefID_[[TerrainType.dbc|TerrainType]] Integer
  4 iRefID_SoundEntries_dry Integer
  4 iRefID_[[SoundEntries.dbc|SoundEntries_dry]] Integer
  5 iRefID_SoundEntries_wet Integer
  5 iRefID_[[SoundEntries.dbc|SoundEntries_wet]] Integer


Retrieved from "http://www.sourcepeek.com/wiki/FootstepTerrainLookup.dbc"
==0.5.3.3368, 1.12.1.5875, 6.0.1.18179==
struct FootstepTerrainLookupRec {
  uint32_t m_ID;
  uint32_t m_CreatureFootstepID;                                            // for this creature footstep id (from {{Template:DBField|table=CreatureSoundData|column=m_soundFootstepID}})
  {{Template:Type/foreign_key|table=TerrainTypeSounds}} m_TerrainSoundID;    // and this terrain sound type
  {{Template:Type/foreign_key|table=SoundEntries}} m_SoundID;                // use these sounds
  {{Template:Type/foreign_key|table=SoundEntries}} m_SoundIDSplash;
};
[[Category:DBC]]
[[Category:DBC_Alpha]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 12:54, 2 October 2017

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.

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 	

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