Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetAuctionItemBattlePetInfo

Last wiki revision 2023-01-28

Retrieves info about one Battle Pet in the current retrieved list of Battle Pets from the Auction House. creatureID, displayID = GetAuctionItemBattlePetInfo(type, index)

  • type: - One of the following:
  • "list" - An item up for auction, the "Browse" tab in the dialog.
  • "bidder" - An item the player has bid on, the "Bids" tab in the dialog.
  • "owner" - An item the player has up for auction, the "Auctions" tab in the dialog.
  • index: - The index of the item in the list to retrieve info from (normally 1-50, inclusive).
  • creatureID: - An indexing value Blizzard uses to number NPCs.
  • displayID: - An indexing value Blizzard uses to number model/skin combinations.

The displayID return appears to always be 0, possibly because the function is only used by Blizzard in conjunction with.

Source

https://warcraft.wiki.gg/wiki/API_GetAuctionItemBattlePetInfo · 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.