WoW:ItemEquipLoc: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (User-controlled Bot: table syntax updated)
No edit summary
Line 55: Line 55:
| 17
| 17
|-----
|-----
| "INVTYPE_RANGED" || Bows Guns or Crossbows
| "INVTYPE_RANGED" || Bows or Crossbows
| 18
| 18
|-----
|-----
| "INVTYPE_THROWN" || Ranged || 18
| "INVTYPE_THROWN" || Ranged || 18
|-----
|-----
| "INVTYPE_RANGEDRIGHT" || Wands || 18
| "INVTYPE_RANGEDRIGHT" || Wands or Guns || 18
|-----
|-----
| "INVTYPE_RELIC" || Relics || 18
| "INVTYPE_RELIC" || Relics || 18
Line 67: Line 67:
|-----
|-----
| "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)
|}
|}

Revision as of 06:48, 24 February 2008

API types

These are the possible 8th returns 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 or Crossbows 18
"INVTYPE_THROWN" Ranged 18
"INVTYPE_RANGEDRIGHT" Wands or Guns 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)