CreatureCache.wdb: Difference between revisions

From wowdev
Jump to navigation Jump to search
(First (non-working) copypaste of Simca's WDB struct)
m (need to RTFM first)
Line 1: Line 1:
The CreatureCache.wdb holds basic of the information for creatures you have seen in game.  
The CreatureCache.wdb holds basic of the information for creatures you have seen in game.  
*Signature: WMOB


For {{Template:Sandbox/PrettyVersion|expansionlevel=1|build=1.13.2.31882}} client version.
For {{Template:Sandbox/PrettyVersion|expansionlevel=1|build=1.13.2.31882}} client version
*Signature: BOMW
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
Line 31: Line 31:
  ...
  ...


For {{Template:Sandbox/PrettyVersion|expansionlevel=2|build=2.3.0}} client version.
For {{Template:Sandbox/PrettyVersion|expansionlevel=2|build=2.3.0}} client version
*Signature: WMOB
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  

Revision as of 03:22, 29 September 2019

The CreatureCache.wdb holds basic of the information for creatures you have seen in game.

  • Signature: WMOB

For Vanilla (1.13.2.31882) client version

Structure

Column	Field	 		Type 			Notes 
1 	ID 			Integer 	
2 	Length			Integer 		
3	TitleLength		uint:11 bits
4	TitleAltLength		uint:11 bits
5	CursorNameLength	uint:6 bits
6	Leader			uint:1 bits
7	Name0Length		uint:11 bits
8	NameAlt0Length		uint:11 bits
9	Name1Length		uint:11 bits
10	NameAlt1Length		uint:11 bits
11	Name2Length		uint:11 bits
12	NameAlt2Length		uint:11 bits
13	Name3Length		uint:11 bits
14	NameAlt3Length		uint:11 bits
15	Name0			String[Name0Length]
16	NameAlt0		String[NameAlt0Length]
17	Name1			String[Name1Length]
18	NameAlt1		String[NameAlt1Length]
19	Name2			String[Name2Length]
20	NameAlt2		String[NameAlt2Length]
21	Name3			String[Name3Length]
22	NameAlt3		String[NameAlt3Length]
23	Flags			Integer[2]		
24	CreatureType		Integer
...

For BC (2.3.0) client version

Structure

Column	Field 		Type 		Notes 
1 	creatureID 	Integer 	
2 	entryLength 	Integer 	WDB Files 
3 	name 		String 	
4 	name 		String 	
5 	name 		String 	
6 	name 		String 	
7 	description 	String 		Shown as <Description> under their name in game 
8 	cursor		String		Cursor shown when hovering 
9 	typeID 		Integer 	CreatureType.dbc
10 	familyID 	Integer 	CreatureFamily.dbc 
11 	flagID 		Integer 	Creature Flag Types 
12 	Unknown 		
13 	spellDataID 			CreatureSpellData.dbc 
14 	DisplayID 	Integer 	CreatureDisplayInfo.dbc 
15 	DisplayID2 	Integer 	CreatureDisplayInfo.dbc  - Added in 2.2 
16 	DisplayID3 	Integer 	CreatureDisplayInfo.dbc  - Added in 2.2 
17 	DisplayID4 	Integer 	CreatureDisplayInfo.dbc  - Added in 2.2 
18 	Unknown 	Floats 		Floats? 
19 	Unknown 	Floats  	Floats? 
20 	RacialLeader 	uint8 		2-byte. Bosses seem to have this set at 256 while everything else is either 0 or 1.

For PreVanilla (0.5.3.3368) client version

Column 	Field 		Type
1 	Name 	 	String[4]
2 	Title 	 	String
3 	Flags 	 	Integer
4 	CreatureType 	Integer
5 	CreatureFamily 	Integer