Files
wow_Meta/api/GetQuestItemLink.lua
2025-05-04 15:15:00 +02:00

12 lines
641 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param itemType reward
---@param choice
---@param required
---@param reward
---@param index number
---@return string link
---Returns a hyperlink for an item in a questgiver dialog. Only valid when the questgiver UI is showing the accept/decline, progress, or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED, QUEST_PROGRESS and QUEST_FINISHED, or QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest.
function GetQuestItemLink(itemType, choice, required, reward, index) end