DB/AreaGroup: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__FORCETOC__
Used for prohibiting or enabling spells in specific areas.
Used for prohibiting or enabling spells in specific areas.


==Structure==
{{Template:Sandbox/VersionRange|min_expansionlevel=3|max_expansionlevel=6}}
==3.0.2.8905-6.0.1.18179==
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 11: Line 13:
| 1  || ID || Integer ||  
| 1  || ID || Integer ||  
|- style="background:#F0F8FF;"
|- style="background:#F0F8FF;"
| 2 || [[AreaTable.dbc|Entry1]] || iRefID || 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;"
| 3 || [[AreaTable.dbc|Entry2]] || iRefID ||
| 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).
|- style="background:#F0F8FF;"
| 4 || [[AreaTable.dbc|Entry3]] || iRefID ||
|- style="background:#F0F8FF;"
| 5 || [[AreaTable.dbc|Entry4]] || iRefID ||
|- style="background:#F0F8FF;"
| 6 || [[AreaTable.dbc|Entry5]] || iRefID ||
|- style="background:#F0F8FF;"
| 7 || [[AreaTable.dbc|Entry6]] || iRefID ||
|- style="background:#F0F8FF;"
| 8 || [[AreaGroup.dbc|MoreEntries]] || iRefID || And if these 6 aren't enough, at this ID there are more entries.
|}
|}


--[[User:Schlumpf|schlumpf_]] 21:43, 28 September 2008 (CEST)
struct AreaGroupRec {
 
  uint32_t m_ID;
[[Category:DBC]][[Category:3.0.2.8905]]
  {{Template:Type/foreign_key|table=AreaTable}} m_areaID[6];
  {{Template:Type/foreign_key|table=AreaGroup}} m_nextAreaID;  // if 6 entries are not enough. 0 for end of list.
};
[[Category:DBC]]
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 19: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.
};