DB/AreaTable: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 15: Line 15:
  3 iRefID_[[AreaTable.dbc|AreaTable]] Integer Recursive. If this is a sub-area, it will link to its parent area.
  3 iRefID_[[AreaTable.dbc|AreaTable]] Integer Recursive. If this is a sub-area, it will link to its parent area.
  4 exploreFlag Integer
  4 exploreFlag Integer
  5 Unknown BitMask flagging the type of the area?
  5 Flags BitMask See below.
  6 Unknown Integer*
  6 Unknown Integer*
  7 Unknown Integer* who knows...
  7 Unknown Integer* who knows...
Line 30: Line 30:
  34 Unknown Float 5610 very often -500.0
  34 Unknown Float 5610 very often -500.0
  35 Unknown Float 5894
  35 Unknown Float 5894
-[[User:Raindog|Raindog]] 10-Dec-2007: updated for increased number of localization fields.
==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.


[[Category:DBC]]
[[Category:DBC]]
-[[User:Raindog|Raindog]] 10-Dec-2007: updated for increased number of localization fields.

Revision as of 12:35, 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 	
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_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.