Holidays.dbc
📝 Structure on wowdev.wiki
❌ denotes unused fields
Structure
Description of fields
ID
Col: 0 (uint32)
- no description -
Duration
Col: 1 – 10 (uint32)
Stage duration in hours.
Date
Col: 11 – 36 (uint32)
From wowdev.wiki: Packed blizzdate (integers with bits (LSB->MSB) 6: minutes, 5: hours, 3: day of week, 6: day of month, 4: month, 5: year, 2: time zone, 1: unused) Epochdate=01.01.2000-00:00
Example Startdate for Darkmoon Faire - Mulgore (first occurence; id: 375):
blizzdate = 126957568; // 0b0000 0111 1001 0001 0011 1000 0000 0000
minutes = blizzdate & 0x3F; // 00 0000 -> 0
hours = (blizzdate >> 6) & 0x1F; // 0 0000 -> 0
dayOfWeek = (blizzdate >> 11) & 0x07; // 111 -> 7
dayOfMonth = (blizzdate >> 14) & 0x3F; // 00 0100 -> 4
month = (blizzdate >> 20) & 0x0F; // 1001 -> 9
year = (blizzdate >> 24) & 0x1F; // 0 0111 -> 7
timeZone = (blizzdate >> 29) & 0x03; // 00 -> 0
padding = (blizzdate >> 31) & 0x01; // 0
decoded: 0007-09-04T00:00:00+00:00
apply epoch date offset
realdate: 2007-10-05T00:00:00
Region
Col: 37 (uint32)
WoW region
Looping
Col: 38 (uint32)
- no description -
CalendarFlags
Col: 39 – 48 (uint32)
- 0x1: Alliance
- 0x2: Horde
- 0x3: Both
HolidayNameID
❌ Col: 49 (uint32)
- no description -
HolidayDescriptionID
❌ Col: 50 (uint32)
- no description -
TextureFilename
Col: 51 (string)
- no description -
Priority
Col: 52 (uint32)
- no description -
CalendarFilterType
Col: 53 (int32)
- -1: repeat, yearly
- 0: repeat, weekly
- 1: repeat, use defined dates
- 2: repeat, hourly
Flags
❌ Col: 54 (uint32)
0 = Darkmoon Faire, Fishing Contest and Wotlk Launch, rest is 1 IsRegionwide?
