DB/AreaGroup: Difference between revisions
Jump to navigation
Jump to search
m (Added Category WotLK) |
|||
(12 intermediate revisions by 4 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. | ||
== | {{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| | | 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 || If group is to contain more than 6 areas, this links to another part of group (group chaining). | |||
| 8 || [[AreaGroup.dbc| | |||
|} | |} | ||
struct AreaGroupRec { | |||
uint32_t m_ID; | |||
[[Category:DBC]][[Category:3.0.2.8905]][[Category: | {{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.
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. };