GetNumRewardCurrencies

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 4.0.1
Removed in 11.0.0

Returns the number of currency rewards for the quest currently being viewed in the quest log or quest info frame.

numCurrencies = GetNumRewardCurrencies()

Returns

numCurrencies
number - The number of currency rewards

Details

This function does not work for quests being viewed from the player's quest log. Use API_GetNumQuestLogRewardCurrencies instead. Check QuestInfoFrame.questLog to determine whether the quest info frame is currently displaying a quest log quest or not.

See also