WoW:API GetInventorySlotInfo: Difference between revisions

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


Line 14: 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.
----
__NOTOC__
{{Template:WoW API}}
[[Category:API Functions|GetInventorySlotInfo]]
[[Category:API Inventory Functions|GetInventorySlotInfo]]

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.