Wowpedia
Advertisement
Wowpedia
240,485
pages
Townlong-Yak Globe.png C_PlayerChoice.GetPlayerChoiceRewardInfo + 9.0.1 - 9.1.0
Townlong-Yak Globe.png GetQuestChoiceRewardCurrency + 5.2.0 - 9.0.1
Townlong-Yak Globe.png GetQuestChoiceRewardFaction + 5.2.0 - 9.0.1
Townlong-Yak Globe.png GetQuestChoiceRewardInfo + 5.2.0 - 9.0.1
Townlong-Yak Globe.png GetQuestChoiceRewardItem + 5.2.0 - 9.0.1

Returns reward info on a quest option.

rewardInfo = C_PlayerChoice.GetPlayerChoiceRewardInfo(rewardIndex)

Arguments

rewardIndex 
number

Returns

rewardInfo 
PlayerChoiceRewardInfo
Key Type Description
money number?
xp number?
itemRewards PlayerChoiceRewardItemInfo[]
currencyRewards PlayerChoiceRewardCurrencyInfo[]
repRewards PlayerChoiceRewardReputationInfo[]
PlayerChoiceRewardItemInfo
Key Type Description
itemId number
name string
quality number
textureFileId number
quantity number
itemLink string
PlayerChoiceRewardCurrencyInfo
Key Type Description
currencyId number
currencyTexture number
quantity number
PlayerChoiceRewardReputationInfo
Key Type Description
factionId number
quantity number

Patch changes

  • Shadowlands Patch 9.0.1 / API (2020-10-13): Streamlined into C_PlayerChoice.GetPlayerChoiceRewardInfo()
  • Mists of Pandaria Patch 5.2.0 / API (2013-03-05): Added the following:
    • GetQuestChoiceRewardCurrency()
    • GetQuestChoiceRewardFaction()
    • GetQuestChoiceRewardInfo()
    • GetQuestChoiceRewardItem()
Advertisement