Skip to content

battle_pets

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
guidbigintsignedPRINO
battlenetAccountIdintsignedNO
speciesintsignedNO
breedsmallintsignedNO
displayIdintsignedNO0
levelsmallintsignedNO1
expsmallintsignedNO0
healthintsignedNO1
qualitytinyintsignedNO0
flagssmallintsignedNO0
namevarchar(12)NO
nameTimestampbigintsignedNO0
ownerbigintsignedYESNULL
ownerRealmIdintsignedYESNULL
 

Description of fields ​

guid ​

The battle pet global unique identifier.  

battlenetAccountId ​

- no description -  

species ​

ID from BattlePetSpecies.db2.  

breed ​

BattlePetBreedID from BattlePetBreedState.db2.  

displayId ​

- no description -  

level ​

Current battle pet level (1 - 25).  

exp ​

- no description -  

health ​

- no description -  

quality ​

- no description -  

flags ​

List of BattlePetDbFlags.

FlagValueNameDescription
00x000NoneNone
10x001FavoriteMarked as favorite in battle pet journal
20x002Converted
40x004RevokedLocked in battle pet journal
80x008LockedForConvertLocked in battle pet journal
160x010Ability0SelectionSelected second ability of ability slot 0
320x020Ability1SelectionSelected second ability of ability slot 1
640x040Ability2SelectionSelected second ability of ability slot 2
1280x080FanfareNeededShown as a present in battle pet journal
2560x100DisplayOverridden
 

name ​

Current battle pet name. If empty, the battle pet will use the name of the creature associated with the species.  

nameTimestamp ​

- no description -  

owner ​

- no description -  

ownerRealmId ​

- no description -