WoW:API GetCraftItemLink: Difference between revisions
Jump to navigation
Jump to search
m (fixes spelling mistake) |
m (Move page script moved page API GetCraftItemLink to API GetCraftItemLink without leaving a redirect) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | {{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].}} | ||
{{wowapi}} | |||
Returns an [[itemLink]] for the specified trade skill item in the current active trade skill. | Returns an [[itemLink]] for the specified trade skill item in the current active trade skill. | ||
"itemLink" = GetCraftItemLink(index) | |||
"itemLink" = GetCraftItemLink(index) | |||
== Arguments == | == Arguments == | ||
Line 18: | Line 16: | ||
== Details == | == Details == | ||
: 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. | : 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 | : 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. |
Latest revision as of 04:45, 15 August 2023
This is no longer a part of the World of Warcraft API.
|
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.