GetNumRewardCurrencies
Jump to navigation
Jump to search
![]() |
This API only exists in Cata Classic and Classic Era. |
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.