WoW:API GetInventorySlotInfo: Difference between revisions
Jump to navigation
Jump to search
GetInventorySlotInfo - Documentation by Flickering
No edit summary |
m (Correct documentation.) |
||
Line 1: | Line 1: | ||
<center>'''GetInventorySlotInfo''' '' | <center>'''GetInventorySlotInfo''' - ''Documentation by [[User:Flickering|Flickering]]''</center> | ||
Return information about a specific inventory slot | |||
: | slotId, textureName = GetInventorySlotInfo("slotName") | ||
== Parameters == | |||
=== Arguments === | |||
:("slotName") | |||
: The | :;slotName : String - The [[API TYPE InventorySlotName|InventorySlotName]] to query ("HEADSLOT", etc). | ||
=== Returns === | |||
:slotId, textureName | |||
: The | :;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 [[User:Sij|Sij]] for pointing out the original Wiki page was incorrect. | |||
---- | ---- | ||
__NOTOC__ | |||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Inventory Functions|GetInventorySlotInfo]] | [[Category:API Inventory Functions|GetInventorySlotInfo]] |
Revision as of 20:53, 10 April 2005
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.