Talk:API GetTradeSkillInfo

This function changed with 5.0.4. There are more values returned now.

skillName, skillType, numAvailable, isExpanded, altVerb, numSkillUps, indentLevel, showProgressBar, currentRank, maxRank, startingRank = GetTradeSkillInfo(skillIndex)

skillType can now have a value of "subheader" for things like the cooking specialties.

showProgressBar indicates if a sub-progressbar must be displayed with the specialty current and max ranks. In the normal UI, those values are only shown when the mouse is over the sub-header.

currentRank is a the current rank for the specialty if showProgressBar is true.

maxRank is a the maximum rank for the specialty if showProgressBar is true.

startingRank is the starting rank where the specialty is available. It is used as the starting value of the progress bar.

--LaoTseu (talk) 13:49, 23 September 2012 (UTC)

I am going to go out on a limb and go ahead and copy this info to the page. Not everyone checks the Discussion for notes and changes.

--Corwin MacGregor (talk) 09:12, 29 August 2013 (UTC)