WoW:ItemEquipLoc: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{wowapitype}})
m (User-controlled Bot: table syntax updated)
Line 3: Line 3:
These are the possible 8th returns of [[API GetItemInfo|GetItemInfo]] and their usable slots.
These are the possible 8th returns of [[API GetItemInfo|GetItemInfo]] and their usable slots.


<table cellpadding="1">
 
<tr><td>Return</td><td>Type</td><td>Usable Slots</td></tr>
{| cellpadding="1"
<tr><td>""</td><td>Unequippable</td><td>na</td></tr>
|-----
<tr><td>"INVTYPE_AMMO"</td><td>Ammo</td><td>0</td></tr>
| Return || Type || Usable Slots
<tr><td>"INVTYPE_HEAD"</td><td>Head</td><td>1</td></tr>
|-----
<tr><td>"INVTYPE_NECK"</td><td>Neck</td><td>2</td></tr>
| "" || Unequippable || na
<tr><td>"INVTYPE_SHOULDER"</td><td>Shoulder</td><td>3</td></tr>
|-----
<tr><td>"INVTYPE_BODY"</td><td>Shirt</td><td>4</td></tr>
| "INVTYPE_AMMO" || Ammo || 0
<tr><td>"INVTYPE_CHEST"</td><td>Chest</td><td>5</td></tr>
|-----
<tr><td>"INVTYPE_ROBE"</td><td>Chest</td><td>5</td></tr>
| "INVTYPE_HEAD" || Head || 1
<tr><td>"INVTYPE_WAIST"</td><td>Waist</td><td>6</td></tr>
|-----
<tr><td>"INVTYPE_LEGS"</td><td>Legs</td><td>7</td></tr>
| "INVTYPE_NECK" || Neck || 2
<tr><td>"INVTYPE_FEET"</td><td>Feet</td><td>8</td></tr>
|-----
<tr><td>"INVTYPE_WRIST"</td><td>Wrist</td><td>9</td></tr>
| "INVTYPE_SHOULDER" || Shoulder || 3
<tr><td>"INVTYPE_HAND"</td><td>Hands</td><td>10</td></tr>
|-----
<tr><td>"INVTYPE_FINGER"</td><td>Fingers</td><td>11,12</td></tr>
| "INVTYPE_BODY" || Shirt || 4
<tr><td>"INVTYPE_TRINKET"</td><td>Trinkets</td><td>13,14</td></tr>
|-----
<tr><td>"INVTYPE_CLOAK"</td><td>Cloaks</td><td>15</td></tr>
| "INVTYPE_CHEST" || Chest || 5
<tr><td>"INVTYPE_WEAPON"</td><td>One-Hand</td><td>16,17</td></tr>
|-----
<tr><td>"INVTYPE_SHIELD"</td><td>Shield</td><td>17</td></tr>
| "INVTYPE_ROBE" || Chest || 5
<tr><td>"INVTYPE_2HWEAPON"</td><td>Two-Handed</td><td>16</td></tr>
|-----
<tr><td>"INVTYPE_WEAPONMAINHAND"</td><td>Main-Hand Weapon</td><td>16</td></tr>
| "INVTYPE_WAIST" || Waist || 6
<tr><td>"INVTYPE_WEAPONOFFHAND"</td><td>Off-Hand Weapon</td><td>17</td></tr>
|-----
<tr><td>"INVTYPE_HOLDABLE"</td><td>Held In Off-Hand</td><td>17</td></tr>
| "INVTYPE_LEGS" || Legs || 7
<tr><td>"INVTYPE_RANGED"</td><td>Bows Guns or Crossbows</td><td>18</td></tr>
|-----
<tr><td>"INVTYPE_THROWN"</td><td>Ranged</td><td>18</td></tr>
| "INVTYPE_FEET" || Feet || 8
<tr><td>"INVTYPE_RANGEDRIGHT"</td><td>Wands</td><td>18</td></tr>
|-----
<tr><td>"INVTYPE_RELIC"</td><td>Relics</td><td>18</td></tr>
| "INVTYPE_WRIST" || Wrist || 9
<tr><td>"INVTYPE_TABARD"</td><td>Tabard</td><td>19</td></tr>
|-----
<tr><td>"INVTYPE_BAG"</td><td>Containers</td><td>20,21,22,23</td></tr>
| "INVTYPE_HAND" || Hands || 10
</table>
|-----
| "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 Guns or Crossbows
| 18
|-----
| "INVTYPE_THROWN" || Ranged || 18
|-----
| "INVTYPE_RANGEDRIGHT" || Wands || 18
|-----
| "INVTYPE_RELIC" || Relics || 18
|-----
| "INVTYPE_TABARD" || Tabard || 19
|-----
| "INVTYPE_BAG" || Containers || 20,21,22,23
|}

Revision as of 23:17, 20 January 2007

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 Guns or Crossbows 18
"INVTYPE_THROWN" Ranged 18
"INVTYPE_RANGEDRIGHT" Wands 18
"INVTYPE_RELIC" Relics 18
"INVTYPE_TABARD" Tabard 19
"INVTYPE_BAG" Containers 20,21,22,23