WoW:API GetInventorySlotInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API GetInventorySlotInfo to API GetInventorySlotInfo without leaving a redirect) |
||
(8 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Return information about a specific inventory slot | |||
: | slotId, textureName = GetInventorySlotInfo("slotName") | ||
== Parameters == | |||
=== Arguments === | |||
:("slotName") | |||
: | :;slotName : String - The [[API TYPE InventorySlotName|InventorySlotName]] to query ("HEADSLOT", etc). | ||
=== Returns === | |||
:slotId, textureName | |||
:;slotId : Numeric - The [[API TYPE InventorySlotID|slot 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. | |||
:; | |||
; | |||
: The texture | |||
Latest revision as of 04:46, 15 August 2023
← WoW API < GetInventorySlotInfo
Return information about a specific inventory slot
slotId, textureName = GetInventorySlotInfo("slotName")
Parameters[edit]
Arguments[edit]
- ("slotName")
- slotName
- String - The InventorySlotName to query ("HEADSLOT", etc).
Returns[edit]
- slotId, textureName
- slotId
- Numeric - The slot 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.