WoW:API GetContainerItemQuestInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} Returns whether the item in the slot is a quest item. isQuestItem, questId, isActive = GetContainerItemQuestInfo(bag, slot); == Arguments == ; bag : Number ([[BagId]…')
 
m (Move page script moved page API GetContainerItemQuestInfo to API GetContainerItemQuestInfo without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

WoW API < GetContainerItemQuestInfo

Returns whether the item in the slot is a quest item.

isQuestItem, questId, isActive = GetContainerItemQuestInfo(bag, slot);

Arguments[edit]

bag
Number (BagId) - Index of the bag to query.
slot
Number - Index of the slot within the bag (ascending from 1) to query.

Returns[edit]

isQuestItem
Flag - true if the item is a quest item, nil otherwise.
questId
Number/nil - Quest ID of the quest this item starts, no value if it does not start a quest.
isActive
Flag - 1 if the quest this item starts has been accepted by the player, nil otherwise.

History[edit]