Hobinheim24768@legacy41545297 (talk | contribs) (removed deprecated template) |
Tag: WoW API docs |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} |
{{wowapi}} |
||
+ | Returns info for an equipment slot. |
||
− | <center>'''GetInventorySlotInfo''' - ''Documentation by [[User:Flickering|Flickering]]''</center> |
||
⚫ | |||
⚫ | |||
− | Return information about a specific inventory slot |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | == Parameters == |
||
⚫ | |||
⚫ | |||
+ | :;checkRelic:{{apitype|boolean}} |
||
− | :("slotName") |
||
+ | <!-- emmylua |
||
⚫ | |||
+ | ---@param invSlotName InventorySlotName |
||
⚫ | |||
+ | ---@return number invSlotId |
||
− | + | ---@return string textureName |
|
− | |||
+ | ---@return boolean checkRelic |
||
⚫ | |||
+ | function GetInventorySlotInfo(invSlotName) end |
||
⚫ | |||
+ | --> |
||
− | |||
− | == Details == |
||
− | : Thanks to [[User:Sij|Sij]] for pointing out the original Wiki page was incorrect. |
Latest revision as of 02:30, 13 April 2023
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info for an equipment slot.
invSlotId, textureName, checkRelic = GetInventorySlotInfo(invSlotName)
Arguments
- invSlotName
- string - InventorySlotName to query (e.g. "HEADSLOT").
Returns
- invSlotId
- number : InventorySlotId - The ID to use to refer to that slot in the other GetInventory functions.
- textureName
- string - The texture to use for the empty slot on the paper doll display.
- checkRelic
- boolean