WoW:API GetQuestItemLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 24: Line 24:


<br><center><i>Last updated: Patch 1.6.1</i></center>
<br><center><i>Last updated: Patch 1.6.1</i></center>
----
----
__NOTOC__
{{WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetQuestItemLink]]
[[Category:API Item Functions|GetQuestItemLink]]
[[Category:API Quest Functions|GetQuestItemLink]]

Revision as of 06:04, 4 January 2006

GetQuestItemLink -Documentation by Ledoc-

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


Last updated: Patch 1.6.1

Template:WoW API