DB/AreaGroup: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
Used for prohibiting or enabling spells in specific areas.
Used for prohibiting or enabling spells in specific areas.


==(3.0.2.8905) & (3.3.5.12340)==
==Wrath==
===Table===
===3.0.2.8905===
====Table====
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 28: Line 29:
|}
|}


==6.0.1.18179==
===3.3.5.12340===
===Struct===
====Table====
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="600" | Notes
|-
| 1  || ID || Integer ||
|- style="background:#F0F8FF;"
| 2 || [[AreaTable.dbc|Entry1]] || iRefID || This is a list of areas in the [[AreaTable.dbc|AreaTable]].
|- style="background:#F0F8FF;"
| 3 || [[AreaTable.dbc|Entry2]] || iRefID ||
|- 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.
|}
 
==Warlords==
===6.0.1.18179===
====Struct====
  struct AreaGroupRec {
  struct AreaGroupRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 35: Line 63:
   {{Template:Type/foreign_key|table=AreaGroup}} m_nextAreaID;  // if 6 entries are not enough. 0 for end of list.
   {{Template:Type/foreign_key|table=AreaGroup}} m_nextAreaID;  // if 6 entries are not enough. 0 for end of list.
  };
  };
[[Category:DBC]][[Category:3.0.2.8905]][[Category:3.3.5.12340]][[Category:DBC_WotLK]]
[[Category:DBC]]
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 03:09, 14 July 2016

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