BattlePetTypeID

From Warcraft Wiki
Jump to navigation Jump to search

Numeric ID representing a distinct battle pet type/family, returned by various C_PetJournal functions and used to display pet type icons and labels in the pet journal.

Values

The table below lists observed pet type IDs alongside the English name.

Localized names are available in the game client under global variables, e.g. "BATTLE_PET_NAME_3" for "Flying".

A mapping of IDs to English names is available in-game as a table under the "PET_TYPE_SUFFIX" variable; this is used in the pet journal, for example, to construct the file name of the icon to show next to each pet.

battlePetTypeID
ID English Name
1
Humanoid
2
Dragonkin
3
Flying
4
Undead
5
Critter
6
Magic
7
Elemental
8
Beast
9
Aquatic
10
Mechanical

Patch history