![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This is no longer a part of the World of Warcraft API.
|
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[] |
| Key | Type | Description |
|---|---|---|
| itemId | number | |
| name | string | |
| quality | number | |
| textureFileId | number | |
| quantity | number | |
| itemLink | string |
| Key | Type | Description |
|---|---|---|
| currencyId | number | |
| currencyTexture | number | |
| quantity | number |
| Key | Type | Description |
|---|---|---|
| factionId | number | |
| quantity | number |
Patch changes[]
Patch 9.0.1 (2020-10-13): Streamlined into C_PlayerChoice.GetPlayerChoiceRewardInfo()
Patch 5.2.0 (2013-03-05): Added the following:
GetQuestChoiceRewardCurrency()GetQuestChoiceRewardFaction()GetQuestChoiceRewardInfo()GetQuestChoiceRewardItem()
