GetSelectedStablePet
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 1.0.0 |
![]() |
This API only exists in Cata Classic and Classic Era. |
Gets the index of the currently selected pet in the stable.
selectedPet = GetSelectedStablePet()
Returns
- selectedPet
- number - The index of the currently selected pet slot, 0 being the current pet, 1 and 2 being the left and right slots, and -1 for when no pet is selected.
Patch changes
Patch 4.0.1 (2010-10-12): Removed.