WoW API: GetStablePetFoodTypes

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetStablePetFoodTypes to API GetStablePetFoodTypes without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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