DB/ZoneMusic: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Barncastle (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
==0.5.3.3368== | ==0.5.3.3368== | ||
enum AMBIENCE | enum AMBIENCE { | ||
AMB_DAY = 0, | AMB_DAY = 0, | ||
AMB_NIGHT = 1, | AMB_NIGHT = 1, | ||
Line 44: | Line 43: | ||
|} | |} | ||
==6.0.1.18179== | ==1.12.1.5875, 6.0.1.18179== | ||
struct ZoneMusicRec { | struct ZoneMusicRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
{{Template:Type|stringref}} m_SetName; | {{Template:Type|stringref}} m_SetName; | ||
uint32_t m_SilenceIntervalMin[ | uint32_t m_SilenceIntervalMin[NUM_AMBIENCES]; | ||
uint32_t m_SilenceIntervalMax[ | uint32_t m_SilenceIntervalMax[NUM_AMBIENCES]; | ||
{{Template:Type/foreign_key|table=SoundEntries}} m_Sounds[ | {{Template:Type/foreign_key|table=SoundEntries}} m_Sounds[NUM_AMBIENCES]; | ||
}; | }; | ||
[[Category:DBC]][[Category:3.0.2.8905]] | [[Category:DBC]] | ||
[[Category:DBC_Alpha]] | |||
[[Category:DBC_Vanilla]] | |||
[[Category:3.0.2.8905]] | |||
[[Category:DBC_WotLK]] | [[Category:DBC_WotLK]] | ||
[[Category:DBC_WoD]] | [[Category:DBC_WoD]] | ||
[[Category:6.0.1.18179]] | [[Category:6.0.1.18179]] |
Latest revision as of 23:55, 1 October 2017
This table contains the music that is played in zones.
0.5.3.3368
enum AMBIENCE { AMB_DAY = 0, AMB_NIGHT = 1, NUM_AMBIENCES = 2, }; struct ZoneMusicRec { uint32_t m_ID; float m_VolumeFloat; stringrefⁱ m_MusicFile[NUM_AMBIENCES]; uint32_t m_SilenceIntervalMin[NUM_AMBIENCES]; uint32_t m_SilenceIntervalMax[NUM_AMBIENCES]; uint32_t m_SegmentLength[NUM_AMBIENCES]; uint32_t m_SegmentPlayMin[NUM_AMBIENCES]; uint32_t m_SegmentPlayMax[NUM_AMBIENCES]; uint32_t m_Sounds[NUM_AMBIENCES]; };
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Name | String | |
3 | SilenceIntervalMinDay | Integer | |
4 | SilenceIntervalMinNight | Integer | |
5 | SilenceIntervalMaxDay | Integer | |
6 | SilenceIntervalMaxNight | Integer | |
7 | DayMusic | iRefID | Whats played on days. |
8 | NightMusic | iRefID | And in the night. |
1.12.1.5875, 6.0.1.18179
struct ZoneMusicRec { uint32_t m_ID; stringrefⁱ m_SetName; uint32_t m_SilenceIntervalMin[NUM_AMBIENCES]; uint32_t m_SilenceIntervalMax[NUM_AMBIENCES]; foreign_keyⁱ<uint32_t, &SoundEntriesRec::m_ID> m_Sounds[NUM_AMBIENCES]; };