API GetQuestLogRewardInfo

From Wowpedia
Jump to: navigation, search

GetQuestLogRewardInfo returns information about mandatory quest reward items.

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

Arguments

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

Returns

itemName 
String - The name of the quest item
itemTexture 
String - The texture of the quest item
numItems 
Number - How many of the quest item
quality 
Number - Quality of the quest item
isUsable 
Boolean - If the quest item is usable by the current player
itemID 
Number - Unique identifier for the item
itemLevel 
Number - 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.