Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the specialization for the inspected player unit.
id = GetInspectSpecialization(unit)
Arguments[]
- unit
- string : UnitId - The player to inspect.
Returns[]
- id
- number - SpecializationID.
Details[]
- Requires calling NotifyInspect() and awaiting INSPECT_READY; returns 0 until inspect info is available.
Patch changes[]
Patch 5.0.4 (2012-08-28): Added.