WoW:API GetInventorySlotInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
Line 12: Line 12:
:slotId, textureName
:slotId, textureName


:;slotId : Numeric - The 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.



Revision as of 14:35, 5 October 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