Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetTalentTierInfo

From Wowpedia
Jump to: navigation, search

Returns the column of the selected talent for a given tier.

unkonwn, column = GetTalentTierInfo(tier, talentGroup[, isInspect[, unit]])

Arguments

tier 
Number - Talent Tier, ascending from 1
talentGroup 
Number - FrameXML uses GetActiveSpecGroup() which currently (7.3.5) returns 1 and TalentFrame.talentGroup which currently (7.3.5) returns the talent group for the selected panel.
isInspect 
Optional Flag - If non-nil, returns information based on inspectedUnit/classId.
inspectedUnit 
Optional String (unitId) - Inspected unit ID; if nil, the selected/available return values will always be false.

Returns

1. unknown 
Boolean
2. column 
String - The column number of the selected talent