Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetCraftDisplaySkillLine

Last wiki revision 2022-08-01

This command retrieves displayable information for the current craft. name, rank, maxRank = GetCraftDisplaySkillLine

  • name: - The name of the active craft, or if the current craft has no displayable name. Also if there are no active crafting windows.
  • rank: - The player's current rank for the named craft, if applicable.
  • maxRank: - The maximum rank for the named craft, if applicable.

The two crafts, Beast Training and Enchanting, have a slightly different UI: the latter has a blue progress bar at the top of the window indicating the player's rank while the former does not. Accordingly, this function returns when the Beast Training window is open, while all return values should be valid when the Enchanting window is open.

GetCraftSkillLine returns the name of the currently active crafting window regardless of whether the name should be displayed.

Source

https://warcraft.wiki.gg/wiki/API_GetCraftDisplaySkillLine · 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.