v0.13.8

GetInventoryItemID

functionimplementedavailable in: camelot

Returns the item ID for an equipped item.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
unitstringUnitId - The unit whose inventory is to be queried.
invSlotIdnumberInventorySlotId - to be queried, obtained via GetInventorySlotInfo.

Returns

#nametypedescription
1itemIdnumber?item id of the item in the inventory slot; nil if there is no item.
2unknownnumber?

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.