WoW API: GetQuestItemLink
Returns link to the quest item.
itemLink = GetQuestItemLink("type", index);
Parameters
Arguments
- (String "type", Integer index)
- type
- String - "required", "reward" or "choice"
- index
- Integer - Quest reward item index.
Returns
- Returns
- itemLink
- itemLink
- String - The link to the quest item specified.
Example
local link = GetQuestItemLink("choice", 1);
Result
item:12345:0:0:0