v0.13.8

C_QuestOffer.GetQuestRewardCurrencyInfo

functionguessedavailable in: camelot

Returns a currency the offered quest rewards, or nil when there is none at that index. · description by wowlua

signaturewowlua
function C_QuestOffer.GetQuestRewardCurrencyInfo(    questInfoType: string,    questRewardIndex: number): QuestRewardCurrencyInfo?

Parameters

nametypedescription
questInfoTypestringThe kind of reward, such as "reward" or "choice".
questRewardIndexnumberThe currency's index among the quest's rewards.

Returns

questRewardCurrencyInfo · QuestRewardCurrencyInfo?

QuestRewardCurrencyInfo
fieldtype
texturenumber
namestring
currencyIDnumber
qualitynumber
baseRewardAmountnumber
bonusRewardAmountnumber
totalRewardAmountnumber
questRewardContextFlagsQuestRewardContextFlags?

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (QuestOffer system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.