WoW:ItemEquipLoc: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (User-controlled Bot: table syntax updated)
m (Move page script moved page ItemEquipLoc to ItemEquipLoc without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{wowapitype}}
{{wowapitype}}<br />


These are the possible 8th returns of [[API GetItemInfo|GetItemInfo]] and their usable slots.
These are the possible returns for itemEquipLoc of [[API GetItemInfo|GetItemInfo]] and their usable slots.




{| cellpadding="1"
{| cellpadding="1"
|-----
|-
| Return || Type || Usable Slots
| Return || Type || Usable Slots
|-----
|-
| "" || Unequippable || na
| "" || Unequippable || na
|-----
|-
| "INVTYPE_AMMO" || Ammo || 0
| "INVTYPE_AMMO" || Ammo || 0
|-----
|-
| "INVTYPE_HEAD" || Head || 1
| "INVTYPE_HEAD" || Head || 1
|-----
|-
| "INVTYPE_NECK" || Neck || 2
| "INVTYPE_NECK" || Neck || 2
|-----
|-
| "INVTYPE_SHOULDER" || Shoulder || 3
| "INVTYPE_SHOULDER" || Shoulder || 3
|-----
|-
| "INVTYPE_BODY" || Shirt || 4
| "INVTYPE_BODY" || Shirt || 4
|-----
|-
| "INVTYPE_CHEST" || Chest || 5
| "INVTYPE_CHEST" || Chest || 5
|-----
|-
| "INVTYPE_ROBE" || Chest || 5
| "INVTYPE_ROBE" || Chest || 5
|-----
|-
| "INVTYPE_WAIST" || Waist || 6
| "INVTYPE_WAIST" || Waist || 6
|-----
|-
| "INVTYPE_LEGS" || Legs || 7
| "INVTYPE_LEGS" || Legs || 7
|-----
|-
| "INVTYPE_FEET" || Feet || 8
| "INVTYPE_FEET" || Feet || 8
|-----
|-
| "INVTYPE_WRIST" || Wrist || 9
| "INVTYPE_WRIST" || Wrist || 9
|-----
|-
| "INVTYPE_HAND" || Hands || 10
| "INVTYPE_HAND" || Hands || 10
|-----
|-
| "INVTYPE_FINGER" || Fingers || 11,12
| "INVTYPE_FINGER" || Fingers || 11,12
|-----
|-
| "INVTYPE_TRINKET" || Trinkets || 13,14
| "INVTYPE_TRINKET" || Trinkets || 13,14
|-----
|-
| "INVTYPE_CLOAK" || Cloaks || 15
| "INVTYPE_CLOAK" || Cloaks || 15
|-----
|-
| "INVTYPE_WEAPON" || One-Hand || 16,17
| "INVTYPE_WEAPON" || One-Hand || 16,17
|-----
|-
| "INVTYPE_SHIELD" || Shield || 17
| "INVTYPE_SHIELD" || Shield || 17
|-----
|-
| "INVTYPE_2HWEAPON" || Two-Handed || 16
| "INVTYPE_2HWEAPON" || Two-Handed || 16
|-----
|-
| "INVTYPE_WEAPONMAINHAND" || Main-Hand Weapon
| "INVTYPE_WEAPONMAINHAND" || Main-Hand Weapon
| 16
| 16
|-----
|-
| "INVTYPE_WEAPONOFFHAND" || Off-Hand Weapon
| "INVTYPE_WEAPONOFFHAND" || Off-Hand Weapon
| 17
| 17
|-----
|-
| "INVTYPE_HOLDABLE" || Held In Off-Hand
| "INVTYPE_HOLDABLE" || Held In Off-Hand
| 17
| 17
|-----
|-
| "INVTYPE_RANGED" || Bows Guns or Crossbows
| "INVTYPE_RANGED" || Bows
| 18
| 18
|-----
|-
| "INVTYPE_THROWN" || Ranged || 18
| "INVTYPE_THROWN" || Ranged || 18
|-----
|-
| "INVTYPE_RANGEDRIGHT" || Wands || 18
| "INVTYPE_RANGEDRIGHT" || Wands, Guns, and Crossbows (changed in 2.4.3) || 18
|-----
|-
| "INVTYPE_RELIC" || Relics || 18
| "INVTYPE_RELIC" || Relics || 18
|-----
|-
| "INVTYPE_TABARD" || Tabard || 19
| "INVTYPE_TABARD" || Tabard || 19
|-----
|-
| "INVTYPE_BAG" || Containers || 20,21,22,23
| "INVTYPE_BAG" || Containers || 20,21,22,23
|-
| "INVTYPE_QUIVER" || Quivers || 20,21,22,23 (defined in GlobalStrings.lua, but does not appear to be used)
|}
|}

Latest revision as of 04:48, 15 August 2023

API types

These are the possible returns for itemEquipLoc of GetItemInfo and their usable slots.


Return Type Usable Slots
"" Unequippable na
"INVTYPE_AMMO" Ammo 0
"INVTYPE_HEAD" Head 1
"INVTYPE_NECK" Neck 2
"INVTYPE_SHOULDER" Shoulder 3
"INVTYPE_BODY" Shirt 4
"INVTYPE_CHEST" Chest 5
"INVTYPE_ROBE" Chest 5
"INVTYPE_WAIST" Waist 6
"INVTYPE_LEGS" Legs 7
"INVTYPE_FEET" Feet 8
"INVTYPE_WRIST" Wrist 9
"INVTYPE_HAND" Hands 10
"INVTYPE_FINGER" Fingers 11,12
"INVTYPE_TRINKET" Trinkets 13,14
"INVTYPE_CLOAK" Cloaks 15
"INVTYPE_WEAPON" One-Hand 16,17
"INVTYPE_SHIELD" Shield 17
"INVTYPE_2HWEAPON" Two-Handed 16
"INVTYPE_WEAPONMAINHAND" Main-Hand Weapon 16
"INVTYPE_WEAPONOFFHAND" Off-Hand Weapon 17
"INVTYPE_HOLDABLE" Held In Off-Hand 17
"INVTYPE_RANGED" Bows 18
"INVTYPE_THROWN" Ranged 18
"INVTYPE_RANGEDRIGHT" Wands, Guns, and Crossbows (changed in 2.4.3) 18
"INVTYPE_RELIC" Relics 18
"INVTYPE_TABARD" Tabard 19
"INVTYPE_BAG" Containers 20,21,22,23
"INVTYPE_QUIVER" Quivers 20,21,22,23 (defined in GlobalStrings.lua, but does not appear to be used)