v0.13.7

C_Item.GetItemFamily

functionguessedavailable in: camelot

Returns the bag type that an item can go into, or for bags the type of items that it can contain.

signaturewowlua
function C_Item.GetItemFamily(    itemInfo: ItemInfo): number?

Parameters

nametype
itemInfoItemInfo

Returns

result · number? · ItemFamily - Bitfield of the type of bags an item can go into, or if the item is a container what it can contain. Will return nil for uncached items, like most item API.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. 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 ↗.