Fandom

WoWWiki

API GetCraftItemLink

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetCraftItemLink

Returns an itemLink for the specified trade skill item in the current active trade skill.

"itemLink" = GetCraftItemLink(index)

Arguments Edit

index 
Number - The index of the item in the current active trade skill.


Returns Edit

"itemLink" 
itemLink - the corresponding item link for that item or
nil, if the index is invalid or there is no active trade skill.


Details Edit

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.

Also on Fandom

Random Wiki