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

10 lines
486 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param slot number
---@return 2 status
---@return 0
---@return 1
---@return 2
---Returns the durability warning status of an equipped item. Looking up the status returned by this function in the INVENTORY_ALERT_COLORS table provides color values, used in the default UI to highlight parts of the DurabiltyFrame (i.e. the "armored man" image) that appears when durability is low.
function GetInventoryAlertStatus(slot) end