DB/AreaTable: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 24: Line 24:
  12-28 sRefName String + [[Loc]]
  12-28 sRefName String + [[Loc]]
  29 iRefMask_[[FactionGroup.dbc|FactionGroup]] BitMask
  29 iRefMask_[[FactionGroup.dbc|FactionGroup]] BitMask
  30 Unknown Integer 5428
  30 Unknown Integer 5428 '''Category is somewhere around here. See below for the enum.'''
  31 Unknown PH* 5428 NULL
  31 Unknown PH* 5428 NULL
  32 Unknown PH* 5428 NULL
  32 Unknown PH* 5428 NULL
Line 32: Line 32:


-[[User:Raindog|Raindog]] 10-Dec-2007: updated for increased number of localization fields.
-[[User:Raindog|Raindog]] 10-Dec-2007: updated for increased number of localization fields.
==enum AREATABLE_CATEGORY==
AREAC_CONTESTED          = 0,
AREAC_ALLIANCE_TERRITORY = 2,
AREAC_HORDE_TERRITORY    = 4,
AREAC_SANCTUARY          = 6,


==enum AREATABLE_FLAGS==
==enum AREATABLE_FLAGS==

Revision as of 12:40, 16 June 2009

Contains general information about the areas (different from Zones, but included) in the game.

Header Info

Records..................1594
Fields.....................27
Record Size...............108
String Block Size.......23291

Structure

Column 	Field 				Type 		Patch 	Notes
1 	ID 				Integer 		id of record
2 	iRefID_Map 			Integer 		reference to map.dbc record.
3 	iRefID_AreaTable 		Integer 		Recursive. If this is a sub-area, it will link to its parent area.
4 	exploreFlag 			Integer 	
5 	Flags 			BitMask 		See below.
6 	Unknown 			Integer* 		
7 	Unknown 			Integer* 		who knows...
8 	iRefID_SoundAmbience 		Integer 		ambient sound
9 	iRefID_ZoneMusic 		Integer 		ambient music	
10 	iRefID_ZoneIntroMusicTable 	Integer 		music upon entering the zone
11 	areaLevel 			Signed Integer 		level this zone is made for.
12-28 	sRefName 			String + Loc 		
29 	iRefMask_FactionGroup 		BitMask 		
30 	Unknown 			Integer 	5428 	Category is somewhere around here. See below for the enum.
31 	Unknown 			PH* 		5428 	NULL
32 	Unknown 			PH* 		5428 	NULL
33 	Unknown 			Integer 	5428 	
34 	Unknown 			Float 		5610 	very often -500.0
35 	Unknown 			Float 		5894

-Raindog 10-Dec-2007: updated for increased number of localization fields.

enum AREATABLE_CATEGORY

AREAC_CONTESTED          = 0,
AREAC_ALLIANCE_TERRITORY = 2,
AREAC_HORDE_TERRITORY    = 4,
AREAC_SANCTUARY          = 6,

enum AREATABLE_FLAGS

AREA_UNK1		= 0x8,
AREA_UNK2		= 0x10,
AREA_CITY_AREA          = 0x20,
AREA_NEUTRAL_AREA       = 0x40,
AREA_PVP_ARENA          = 0x80,
AREA_CITY               = 0x200,
AREA_FLYING_PERMITTED	= 0x400,
AREA_SANCTUARY          = 0x800,
AREA_ISLAND             = 0x1000,
AREA_UNK4		= 0x4000,
AREA_PVP_OBJECTIVE_AREA = 0x8000,

from Hearthstone / Ascent source.