Files
wow_Meta/api/AutoEquipCursorItem.lua
2024-12-16 13:13:08 +01:00

4 lines
409 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---Equips the item on the cursor. The item is automatically equipped in the first available slot in which it fits. To equip an item in a specific slot, see EquipCursorItem(). Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be equipped. Does nothing if the cursor does not contain an item.
function AutoEquipCursorItem() end