WoW API: GetStablePetFoodTypes

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetStablePetFoodTypes


Returns a list of the food types a pet in the stable can eat.

local PetFoodList = { GetStablePetFoodTypes(index) };


Arguments[edit]

index
Number - The stable slot index of the pet: 0 for the current pet, 1 for the pet in the left slot, and 2 for the pet in the right slot.


Returns[edit]

A list of the pet food type names, see GetPetFoodTypes().


Possible Food Type Names[edit]

  • Meat
  • Fish
  • Fruit
  • Fungus
  • Bread
  • Cheese