DB/CreatureFamily

From wowdev
Revision as of 09:10, 31 August 2018 by Смердокрыл (talk | contribs) (Added pet food values for ease)
Jump to navigation Jump to search

Classic

0.5.3.3368

Struct

struct CreatureFamilyRec {
  uint32_t m_ID;
  float m_minScale;
  uint32_t m_minScaleLevel;
  float m_maxScale;
  uint32_t m_maxScaleLevel;
  uint32_t m_skillLine[2];
};

Wrath

3.3.5.12340

Table

Column Field Type Notes
1 ID Integer
2 minScale Float
3 minScaleLevel Integer
4 maxScale Float
5 maxScaleLevel Integer
6 SkillLine iRefID
7 SkillLine iRefID
8 ItemPetFood iRefMask
9 petTalentType Integer
10 categoryEnumID Integer
11 Name Loc
28 IconFile String "Interface\Icons\Ability_[a-z_]"

Warlords

1.12.1.5875, 6.0.1.18179

Struct

struct CreatureFamilyRec {
  uint32_t m_ID;
  float m_minScale;
  uint32_t m_minScaleLevel;
  float m_maxScale;
  uint32_t m_maxScaleLevel;
  uint32_t m_skillLine[2];
  uint32_t m_petFoodMask;
  uint32_t m_petTalentType;
  uint32_t m_categoryEnumID;
  langstringref m_name_lang;
  stringref m_iconFile;
};

Unknown Build

Table

Column 	Field 			Type 		Notes 
1 	ID 			Integer 	
2 	Unknown 		Float 		Q: movement or attack speed modifier? 
3 	iRefID_PetPersonality 	Integer 	Base data columns 11-19. 
4 	Unknown 		Float 		Q: movement or attack speed modifier? 
5 	Unknown 		Integer 	Q: is player controlled? 
6 	iRefID_SkillLine 	Integer 	
7 	Unknown 		Integer 	Q: is tameable? 
8 	iRefMask_ItemPetFood 	BitMask 	
9-17 	sRefName 		String + Loc		
18 	sRefPath 		String 		path: "Interface\Icons\Ability_[a-z_]" 


Pet Food Mask

Hex 	Decimal  Food 
0x001 	1 	 Meat
0x002 	2 	 Fish
0x004 	4 	 Cheese
0x008 	8 	 Bread
0x010 	16 	 Fungus
0x020 	32 	 Fruit
0x040 	64 	 Raw meat
0x080 	128 	 Raw fish
0x100 	256 	 Mechanical parts(?)