API:GetEquipSlotInfo

Returns the path (string) to the icon for a equipment slot.
string = GetEquipSlotInfo( slot )
 
Example:
DEFAULT_CHAT_FRAME:AddMessage(GetEquipSlotInfo(4))
Output:
interface\CharacterFrame\Equipment-ChestSlot
Here is a list of equipment items and what slot number they correspond to:
# Head
# Hands
# Feet
# Upper Body
# Lower Body
# Cape
# Belt
# Shoulders
# Necklace
# Ammunition
# Ranged Weapon
# Ring 1
# Ring 2
# Earring 1
# Earring 2
# Main hand
# Off-hand
# Gathering tools
# Amulet 1
# Amulet 2
# Amulet 3
# Back (wings)
Category:Functions