Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info for a quest item in a container slot.
isQuestItem, questId, isActive = GetContainerItemQuestInfo(bag, slot)
Arguments[]
- bag
- number (BagID) - Index of the bag to query.
- slot
- number - Index of the slot within the bag (ascending from 1) to query.
Returns[]
- isQuestItem
- boolean - true if the item is a quest item, nil otherwise.
- questId
- number - Quest ID of the quest this item starts, no value if it does not start a quest.
- isActive
- boolean - 1 if the quest this item starts has been accepted by the player, nil otherwise.
History[]
- Added in Patch 3.3.3.