DB/AreaGroup

From wowdev
Revision as of 19:09, 26 July 2017 by Amaroth (talk | contribs) (→‎3.0.2.8905-6.0.1.18179)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Used for prohibiting or enabling spells in specific areas.

Wrath … WoD

3.0.2.8905-6.0.1.18179

Column Field Type Notes
1 ID Integer
2-7 AreaTable.ID iRefID[6] This is a list of areas in the AreaTable.
8 Linked_AreaGroup.ID iRefID If group is to contain more than 6 areas, this links to another part of group (group chaining).
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.
};