Return additional data about player specializations.
See also Talent functions.
specID- Non-global specialization ID number (
isInspect- True to request data of currently inspected unit (
isPet- True to request pet specialization (
inspectTarget- The unit to request data for, when inspecting (
gender- Used to return properly gendered text data, as returned by UnitSex(unit) (
id- Global specialization ID number (
name- Localized specialization name (
description- Localized specialization description used in talent tab (
icon- Path to specialization icon used in talent tab (
background- Name of background texture. Not used in current version of official UI (
role- Non-localized specialization role token, i.e.
primaryStat- Primary stat, i.e. one of
-- Return global ID of player current specialization. id = GetSpecializationInfo(GetSpecialization());