WoW API: CursorCanGoInSlot

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API CursorCanGoInSlot to API CursorCanGoInSlot without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < CursorCanGoInSlot

Determines if the item in the cursor can be equipped in the specified inventory slot. Always returns 1 for bank bag slots.

fitsInSlot = CursorCanGoInSlot(invSlot)

ArgumentsEdit

invSlot
Number (inventorySlotId) - Inventory slot to query

ReturnsEdit

fitsInSlot
Flag - 1 if the thing currently on the cursor can go into the specified slot, nil otherwise.