API GetTalentInfo

Returns info for the specified talent.
 talentID, name, texture, selected, available, spellID, unknown, row, column, known, grantedByAura
 = GetTalentInfo(tier, column, specGroupIndex [, isInspect, inspectUnit])
 = GetTalentInfoByID(talentID, specGroupIndex [, isInspect, inspectUnit])
 = GetTalentInfoBySpecialization(specIndex, tier, column)
==Arguments==
===GetTalentInfo===
:;tier: - Talent tier from 1 to MAX_TALENT_TIERS
:;column: - Talent column from 1 to NUM_TALENT_COLUMNS
:;specGroupIndex: - Index of active specialization group ()
:;isInspect: - If non-nil, returns information based on inspectedUnit/classId.
:;inspectUnit: : UnitId - Inspected unit; if nil, the selected/available return values will always be false.
===GetTalentInfoByID===
:;talentID: - Talent ID.
:;specGroupIndex:
:;isInspect:
:;inspectUnit: : UnitId
===GetTalentInfoBySpecialization===
:;specIndex: - Index of the specialization, ascending from 1 to ().
:;tier:
:;column:
==Returns==
:;1. talentID: - Talent ID.
:;2. name: - Talent name.
:;3. texture: : FileID
:;4. selected: - true if the talent is chosen, false otherwise.
:;5. available: - true if the talent tier is chosen, or if it is level-appropriate for the player and the player has no talents selected in that tier, false otherwise.
:;6. spellID: - Spell ID that is added to the spellbook.
:;7. unknown:
:;8. row: - The row the talent is from. This will be the same as the tier argument given.
:;9. column: - The column the talent is from. This will be the same as the column argument given.
:;10. known: - true if the talent is active, false otherwise.
:;11. grantedByAura: - true if the talent is granted by an aura (i.e., an effect on an item), false otherwise. Legion's Class Soul rings used this rather than selected.
==Patch changes==
==See also==
* 
*