WoW API: GetQuestReward

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetQuestReward to API GetQuestReward without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetQuestReward

Completes the quest with the specified quest reward.

Warning: Since making a choice here is irrevocable, use with caution.

GetQuestReward(itemChoice);

Arguments
(Number itemChoice)
itemChoice
The quest reward chosen

Returns
nil

Example
GetQuestReward(QuestFrameRewardPanel.itemChoice);
Result

Description
Gets the quest reward specified.