Lore archive · Warcraft Wiki, 2023 dump
API GetInventoryItemID
Last wiki revision 2022-07-29
Returns the item ID for an equipped item. itemId, unknown = GetInventoryItemID(unit, invSlotId)
- unit: : UnitId - The unit whose inventory is to be queried.
- invSlotId: : InventorySlotId - to be queried, obtained via GetInventorySlotInfo.
- itemId: - item id of the item in the inventory slot; nil if there is no item.
- unknown: - ?
Source
https://warcraft.wiki.gg/wiki/API_GetInventoryItemID · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.