Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetCraftItemLink

Last wiki revision 2022-08-01

Returns an itemLink for the specified trade skill item in the current active trade skill. itemLink = GetCraftItemLink(index)

  • index: - The index of the item in the current active trade skill.
  • "itemLink" : itemLink - the corresponding item link for that item or
  • nil, if the index is invalid or there is no active trade skill.
  • This function works with the trade skill which is currently active. Initially there is no active trade skill. A trade skill becomes active when a trade skill window is opened, for instance.
  • Note that not all trade skills will change the active trade skill for this function. Only these which can generate chat links for a single trade skill, will change the active setting (not to be mixed up with item links for crafted items). At the moment this is only the enchanting trade skill window.

Source

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