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!
|This is no longer a part of the World of Warcraft API.
Expands a header within a tradeskill window.
nil = ExpandTradeSkillSubClass(index)
index : Integer - index within the tradeskill window
It is unknown whether an event triggers.
_, skillType, _, isExpanded, _, _ = GetTradeSkillInfo(skillIndex) for index = GetNumTradeSkills(), 1, -1 do if skillType == "header" then ExpandTradeSkillSubClass(index) end end
Result All your currently-listed subclasses will be expanded. Subclasses that are folded within another will remain at their former state, collapsed or expanded.
- No error is generated when already isExpanded.
- An error is generated when the skillType ~= "header": Bad skill line in ExpandTradeSkillSubClass