Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C PetJournal.GetPetLoadOutInfo

Last wiki revision 2022-08-01

Returns information about a slot in your battle pet team. petGUID, ability1, ability2, ability3, locked = C_PetJournal.GetPetLoadOutInfo(slotIndex)

  • slotIndex: - battle pet slot index, an integer between 1 and 3. Values outside this range throw an error.
  • petGUID: - GUID of the battle pet currently in this slot.
  • ability1: - Ability ID of the first (level 1/10) ability selected for the battle pet in this slot.
  • ability2: - Ability ID of the second (level 2/15) ability selected for the battle pet in this slot.
  • ability3: - Ability ID of the third (level 4/20) ability selected for the battle pet in this slot.
  • locked: - false if the player can place a battle pet in this slot, true otherwise.
  • Ability IDs are returned even for slots that are not yet unlocked by a low-level battle pet.
  • Slots are locked until the player has earned the necessary achievement/skill. The first slot is unlocked by learning Battle Pet Training.

Source

https://warcraft.wiki.gg/wiki/API_C_PetJournal.GetPetLoadOutInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.