WoW:API GetInventorySlotInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(removed deprecated template)
m (Move page script moved page API GetInventorySlotInfo to API GetInventorySlotInfo without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetInventorySlotInfo''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
Return information about a specific inventory slot
Return information about a specific inventory slot


Line 15: Line 13:
:;slotId : Numeric - The [[API TYPE InventorySlotID|slot ID]] to use to refer to that slot in the other GetInventory functions.
:;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.
:;textureName : String - The texture to use for the empty slot on the paper doll display.
== Details ==
: Thanks to [[User:Sij|Sij]] for pointing out the original Wiki page was incorrect.

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.