Files
wow_Meta/api/IsUsableItem.lua
2025-05-04 15:15:00 +02:00

11 lines
471 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param itemID number
---@param itemName string
---@param itemLink string
---@return 1nil isUsable
---@return 1nil notEnoughMana
---Returns whether an item can currently be used. Does not account for item cooldowns (see GetItemCooldown() -- returns 1 if other conditions allow for using the item (e.g. if the item can only be used while outdoors).
function IsUsableItem(itemID, itemName, itemLink) end