Files
wow_Meta/api/GetItemFamily.lua
2025-05-04 14:35:26 +02:00

26 lines
1.0 KiB
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param itemID number
---@param itemName string
---@param itemLink string
---@return 0x10000 bagType
---@return 0x0001
---@return 0x0002
---@return 0x0004
---@return 0x0008
---@return 0x0010
---@return 0x0020
---@return 0x0040
---@return 0x0080
---@return 0x0100
---@return 0x0200
---@return 0x0400
---@return 0x0800
---@return 0x1000
---@return 0x2000
---@return 0x4000
---@return 0x8000
---@return 0x10000
---Returns information about special bag types that can hold a given item. The meaning of bagType varies depending on the item: If the item is a container, bagType indicates which kinds of items the container is limited to holding; a bagType of 0 indicates the container can hold any kind of item. If the item is not a container, bagType indicates which kinds of specialty containers can hold the item; a bagType of 0 indicates the item can only be put in general-purpose containers.
function GetItemFamily(itemID, itemName, itemLink) end