C_Item. GetItemInfoInstant
functionimplementedavailable in: camelot
Returns readily available info for an item.
function C_Item.GetItemInfoInstant( itemInfo: ItemInfo): (number?, string?, string?, string?, number?, number?, number?)Parameters
| name | type |
|---|---|
itemInfo | ItemInfo |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | itemID | number? | ID of the item. |
| 2 | itemType | string? | ItemType - The localized type name of the item: Armor, Weapon, Quest, etc. |
| 3 | itemSubType | string? | ItemType - The localized sub-type name of the item: Bows, Guns, Staves, etc. |
| 4 | itemEquipLoc | string? | 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. |
| 5 | icon | number? | The texture for the item icon. |
| 6 | classID | number? | ItemType - The numeric ID of itemType |
| 7 | subClassID | number? | 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 ↗.