DB/AreaGroup

From wowdev
Revision as of 03:09, 14 July 2016 by Synric (talk | contribs)
Jump to navigation Jump to search

Used for prohibiting or enabling spells in specific areas.

Wrath

3.0.2.8905

Table

Column Field Type Notes
1 ID Integer
2 Entry1 iRefID This is a list of areas in the AreaTable.
3 Entry2 iRefID
4 Entry3 iRefID
5 Entry4 iRefID
6 Entry5 iRefID
7 Entry6 iRefID
8 MoreEntries iRefID And if these 6 aren't enough, at this ID there are more entries.

3.3.5.12340

Table

Column Field Type Notes
1 ID Integer
2 Entry1 iRefID This is a list of areas in the AreaTable.
3 Entry2 iRefID
4 Entry3 iRefID
5 Entry4 iRefID
6 Entry5 iRefID
7 Entry6 iRefID
8 MoreEntries iRefID And if these 6 aren't enough, at this ID there are more entries.

Warlords

6.0.1.18179

Struct

struct AreaGroupRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &AreaTableRec::m_ID> m_areaID[6];
  foreign_key<uint32_t, &AreaGroupRec::m_ID> m_nextAreaID;   // if 6 entries are not enough. 0 for end of list.
};