DB/AreaGroup: Difference between revisions

From wowdev
Jump to navigation Jump to search
 
Line 15: Line 15:
| 2-7 || [[AreaTable.dbc|AreaTable.ID]] || iRefID[6] || This is a list of areas in the [[AreaTable.dbc|AreaTable]].
| 2-7 || [[AreaTable.dbc|AreaTable.ID]] || iRefID[6] || This is a list of areas in the [[AreaTable.dbc|AreaTable]].
|- style="background:#F0F8FF;"
|- style="background:#F0F8FF;"
| 8 || [[AreaGroup.dbc|Linked_AreaGroup.ID]] || iRefID || And if these 6 aren't enough, at this ID there are more entries.
| 8 || [[AreaGroup.dbc|Linked_AreaGroup.ID]] || iRefID || If group is to contain more than 6 areas, this links to another part of group (group chaining).
|}
|}



Latest revision as of 18:09, 26 July 2017

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