WoW:API GetInventorySlotInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(removed deprecated template)
(Kill attributions. There's history for that.)
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.

Revision as of 11:15, 10 May 2007

WoW API < GetInventorySlotInfo

Return information about a specific inventory slot

slotId, textureName = GetInventorySlotInfo("slotName")

Parameters

Arguments

("slotName")
slotName
String - The InventorySlotName to query ("HEADSLOT", etc).

Returns

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.