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

10 lines
462 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@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