API C Transmog.GetSlotForInventoryType

Returns the equipment slot for an inventory type.
 slot = C_Transmog.GetSlotForInventoryType(inventoryType)
==Arguments==
:;inventoryType: : Enum.InventoryType
==Returns==
:;slot: - The equipmentSlot for an inventory type.
==Values==
InvType	InvTypeName 	InvSlotId	InvSlotName
2 	IndexHeadType 	1 	HEADSLOT
4 	IndexShoulderType 	3 	SHOULDERSLOT
5 	IndexBodyType 	4 	SHIRTSLOT
6 	IndexChestType 	5 	CHESTSLOT
7 	IndexWaistType 	6 	WAISTSLOT
8 	IndexLegsType 	7 	LEGSSLOT
9 	IndexFeetType 	8 	FEETSLOT
10 	IndexWristType 	9 	WRISTSLOT
11 	IndexHandType 	10 	HANDSSLOT
14 	IndexWeaponType 	16 	MAINHANDSLOT
15 	IndexShieldType 	17 	SECONDARYHANDSLOT
16 	IndexRangedType 	16 	MAINHANDSLOT
17 	IndexCloakType 	15 	BACKSLOT
18 	Index2HweaponType 	16 	MAINHANDSLOT
20 	IndexTabardType 	19 	TABARDSLOT
21 	IndexRobeType 	5 	CHESTSLOT
22 	IndexWeaponmainhandType	16 	MAINHANDSLOT
23 	IndexWeaponoffhandType 	16 	MAINHANDSLOT
24 	IndexHoldableType 	17 	SECONDARYHANDSLOT
27 	IndexRangedrightType 	16 	MAINHANDSLOT
==Patch changes==