WoW:API GetInventorySlotInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Correct documentation.)
mNo edit summary
Line 21: Line 21:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetInventorySlotInfo]]
[[Category:API Inventory Functions|GetInventorySlotInfo]]
[[Category:API Inventory Functions|GetInventorySlotInfo]]

Revision as of 18:26, 29 August 2005

GetInventorySlotInfo - Documentation by Flickering

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.

Details

Thanks to Sij for pointing out the original Wiki page was incorrect.

Template:WoW API