Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the number of pets that the specified owner has in the pet battle.
numPets = C_PetBattles.GetNumPets(petOwner)
Arguments[]
- petOwner
- number
Value | Enum | Description |
---|---|---|
0 | LE_BATTLE_PET_WEATHER | |
1 | LE_BATTLE_PET_ALLY | Current player |
2 | LE_BATTLE_PET_ENEMY | Opponent |
Returns[]
- numPets
- number - Amount of pets that the current owner has in the pet battle (always 1-3).
Patch changes[]
Patch 5.0.4 (2012-08-28): Added.