WoW API: CursorCanGoInSlot

From AddOn Studio
Revision as of 12:34, 4 April 2010 by WoWWiki>Starlightblunder (boilerplate)
Jump to navigation Jump to search

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)

Arguments

invSlot
Number (inventorySlotId) - Inventory slot to query

Returns

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