WoW:InventorySlotName: Difference between revisions
Jump to navigation
Jump to search
(→Values) |
m (Move page script moved page InventorySlotName to InventorySlotName without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapitype}}<br> | {{wowapitype}}<br /> | ||
Rather than use hard-coded ID's for inventory slots, each slot is mapped to a numeric ID at runtime using the [[API GetInventorySlotInfo]] function. This allows for future expansion and addition of new slots, as well as re-ordering of slots in the underlying code. | Rather than use hard-coded ID's for inventory slots, each slot is mapped to a numeric ID at runtime using the [[API GetInventorySlotInfo]] function. This allows for future expansion and addition of new slots, as well as re-ordering of slots in the underlying code. Known slot ID's are as follows (and appear to be case insensitive): | ||
== Values == | == Values == | ||
; <tt>"HeadSlot"</tt> : Head/helmet slot. | ; <tt>"HeadSlot"</tt> | ||
; <tt>"NeckSlot"</tt> : Necklace slot. | : Head/helmet slot. | ||
; <tt>"ShoulderSlot"</tt> : Shoulder slot. | ; <tt>"NeckSlot"</tt> | ||
; <tt>"BackSlot"</tt> : Back/Cape slot. | : Necklace slot. | ||
; <tt>"ChestSlot"</tt> : Chest slot. | ; <tt>"ShoulderSlot"</tt> | ||
; <tt>"ShirtSlot"</tt> : Shirt slot. | : Shoulder slot. | ||
; <tt>"TabardSlot"</tt> : Tabard slot. | ; <tt>"BackSlot"</tt> | ||
; <tt>"WristSlot"</tt> : Wrist/Bracer slot. | : Back/Cape slot. | ||
; <tt>"ChestSlot"</tt> | |||
: Chest slot. | |||
; <tt>"ShirtSlot"</tt> | |||
: Shirt slot. | |||
; <tt>"TabardSlot"</tt> | |||
: Tabard slot. | |||
; <tt>"WristSlot"</tt> | |||
: Wrist/Bracer slot. | |||
; <tt>"HandsSlot"</tt> : Hand/Gloves slot. | ; <tt>"HandsSlot"</tt> | ||
; <tt>"WaistSlot"</tt> : Waist/Belt slot. | : Hand/Gloves slot. | ||
; <tt>"LegsSlot"</tt> : Legs/Pants slot. | ; <tt>"WaistSlot"</tt> | ||
; <tt>"FeetSlot"</tt> : Feet/Boots slot. | : Waist/Belt slot. | ||
; <tt>"Finger0Slot"</tt> : First finger/ring slot. | ; <tt>"LegsSlot"</tt> | ||
; <tt>"Finger1Slot"</tt> : Second finger/ring slot. | : Legs/Pants slot. | ||
; <tt>"Trinket0Slot"</tt> : First trinket slot. | ; <tt>"FeetSlot"</tt> | ||
; <tt>"Trinket1Slot"</tt> : Second trinket | : Feet/Boots slot. | ||
; <tt>"Finger0Slot"</tt> | |||
: First finger/ring slot. | |||
; <tt>"Finger1Slot"</tt> | |||
: Second finger/ring slot. | |||
; <tt>"Trinket0Slot"</tt> | |||
: First trinket slot. | |||
; <tt>"Trinket1Slot"</tt> | |||
: Second trinket slot. | |||
; <tt>"MainHandSlot"</tt> | |||
: Main hand slot. | |||
; <tt>"SecondaryHandSlot"</tt> | |||
: Secondary hand/Off-hand slot. | |||
; <tt>"Bag0Slot"</tt> | |||
: First bag slot. | |||
; <tt>"Bag1Slot"</tt> | |||
: Second bag slot. | |||
; <tt>"Bag2Slot"</tt> | |||
: Third bag slot. | |||
; <tt>"Bag3Slot"</tt> | |||
: Fourth bag slot. | |||
== Notes == | == Notes == | ||
* <tt>RangedSlot</tt> and <tt>AmmoSlot</tt> were removed with {{cata-inline}} Cataclysm. |
Latest revision as of 04:48, 15 August 2023
Rather than use hard-coded ID's for inventory slots, each slot is mapped to a numeric ID at runtime using the API GetInventorySlotInfo function. This allows for future expansion and addition of new slots, as well as re-ordering of slots in the underlying code. Known slot ID's are as follows (and appear to be case insensitive):
Values[edit]
- "HeadSlot"
- Head/helmet slot.
- "NeckSlot"
- Necklace slot.
- "ShoulderSlot"
- Shoulder slot.
- "BackSlot"
- Back/Cape slot.
- "ChestSlot"
- Chest slot.
- "ShirtSlot"
- Shirt slot.
- "TabardSlot"
- Tabard slot.
- "WristSlot"
- Wrist/Bracer slot.
- "HandsSlot"
- Hand/Gloves slot.
- "WaistSlot"
- Waist/Belt slot.
- "LegsSlot"
- Legs/Pants slot.
- "FeetSlot"
- Feet/Boots slot.
- "Finger0Slot"
- First finger/ring slot.
- "Finger1Slot"
- Second finger/ring slot.
- "Trinket0Slot"
- First trinket slot.
- "Trinket1Slot"
- Second trinket slot.
- "MainHandSlot"
- Main hand slot.
- "SecondaryHandSlot"
- Secondary hand/Off-hand slot.
- "Bag0Slot"
- First bag slot.
- "Bag1Slot"
- Second bag slot.
- "Bag2Slot"
- Third bag slot.
- "Bag3Slot"
- Fourth bag slot.
Notes[edit]
- RangedSlot and AmmoSlot were removed with Template:Cata-inline Cataclysm.