API GetQuestLogRewardInfo

GetQuestLogRewardInfo returns information about mandatory quest reward items.

itemName, itemTexture, numItems, quality, isUsable, itemID, itemLevel = GetQuestLogRewardInfo(itemIndex[, questID])

Arguments

 * itemIndex : - Index of the item reward to query, up to GetNumQuestLogRewards
 * questID : - Unique identifier for a quest.

Returns

 * itemName : - The name of the quest item
 * itemTexture :  - The texture of the quest item
 * numItems :  - How many of the quest item
 * quality : - Quality of the quest item
 * isUsable : - If the quest item is usable by the current player
 * itemID : - Unique identifier for the item
 * itemLevel : - Scaled item level of the reward, based on the character's item level

Description

 * This function is used for quest reward items that are rewarded unconditionally (mandatory) upon completion of a quest. For information about reward items a player can choose from, use GetQuestLogChoiceInfo instead.
 * This function appears to get info for the currently viewed quest completion dialog if called without a questID. Otherwise, it returns information about the supplied questID.