WoW API: GetStablePetFoodTypes

From AddOn Studio
Revision as of 14:05, 6 June 2007 by WoWWiki>Ravas (New page: {{wowapi}} __NOTOC__ Returns a list of the food types a pet in the stable can eat. local PetFoodList = { GetStablePetFoodTypes(index) }; == Arguments == :;index : Number - The stable ...)
(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

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

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


Possible Food Type Names

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