DB/AreaGroup

From wowdev
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.
};