WoW:API GetQuestLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (it's actually the quest id, not the quest(log) index)
(→‎Arguments: per testing and http://wowprogramming.com/docs/api/GetQuestLink)
Line 3: Line 3:


== Arguments ==
== Arguments ==
;questid: Table - Integer - Quest ID (starts with 1).
;questid: Table - Integer - index of a quest in the quest log (between 1 and GetNumQuestLogEntries()).


== Returns ==
== Returns ==
;[[QuestLink]] : String - The link to the quest specified
;[[QuestLink]] : String - The link to the quest specified
:or nil, if the type and/or id is invalid or there is no active quest at the moment.
:or nil, if the type and/or id is invalid or there is no active quest at the moment.

Revision as of 19:14, 20 February 2010

WoW API < GetQuestLink

QuestLink = GetQuestLink(questid)

Arguments

questid
Table - Integer - index of a quest in the quest log (between 1 and GetNumQuestLogEntries()).

Returns

QuestLink
String - The link to the quest specified
or nil, if the type and/or id is invalid or there is no active quest at the moment.