v0.13.7

C_Item.GetItemInfoInstant

functionimplementedavailable in: camelot

Returns readily available info for an item.

signaturewowlua
function C_Item.GetItemInfoInstant(    itemInfo: ItemInfo): (number?, string?, string?, string?, number?, number?, number?)

Parameters

nametype
itemInfoItemInfo

Returns

#nametypedescription
1itemIDnumber?ID of the item.
2itemTypestring?ItemType - The localized type name of the item: Armor, Weapon, Quest, etc.
3itemSubTypestring?ItemType - The localized sub-type name of the item: Bows, Guns, Staves, etc.
4itemEquipLocstring?ItemEquipLoc - The inventory equipment location in which the item may be equipped e.g. "INVTYPE_HEAD", or an empty string if it cannot be equipped.
5iconnumber?The texture for the item icon.
6classIDnumber?ItemType - The numeric ID of itemType
7subClassIDnumber?ItemType - The numeric ID of itemSubType

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Item system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.