WoWInterface - View Single Post - How can I tell ..
View Single Post
03-23-18, 05:19 PM   #1
A Flamescale Wyrmkin
Join Date: Feb 2018
Posts: 148
How can I tell ..

1) If I can equip an item properly (eg NOT DK and cloth) - other than checking if it is leather/cloth etc and having hard-coded things like "Paladin=plate". Is there a proper API function for this?

2) Convert ItemEquipLocation (as per GetItemInfo) to slot Id as used by GetInventoryItemLink
currently using a table from https://wow.gamepedia.com/ItemEquipLoc but it'd be nicer if there were an API call for this?
  Reply With Quote