Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ExpandTradeSkillSubClass

Last wiki revision 2022-07-21

Expands a header within a tradeskill window. ExpandTradeSkillSubClass(index)

  • index: - 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

Source

https://warcraft.wiki.gg/wiki/API_ExpandTradeSkillSubClass · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.