Returns information about a stabled pet
See also Pet Stable functions.
Signature:
icon,
name,
level,
family,
talent
=
GetStablePetInfo(index)
Arguments:
index
- Index of a stable slot (number
)0
- Active pet1 to NUM_PET_STABLE_SLOTS
- A stable slot
Returns:
icon
- Path to an icon texture for the pet (string
)name
- Name of the pet (string
)level
- Level of the pet (number
)family
- Localized name of the pet's creature family (e.g. Cat, Bear, Chimaera) (string
)talent
- Localized name of the pet's talent tree (e.g. Ferocity, Tenacity, Cunning) (string
)