Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the battle pet species ID of a specified unit.
speciesID = UnitBattlePetSpeciesID(unit)
Arguments[]
- unit
- string : UnitId - The unit to return the species ID of.
Returns[]
- speciesID
- number : BattlePetSpeciesID
See also[]
Patch changes[]
Patch 5.1.0 (2012-11-27): Added.