WoW:API KeyRingButtonIDToInvSlotID: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(Reilized last change was on the wrong function. Removed changes.)
Line 9: Line 9:
=== Arguments ===
=== Arguments ===
:;buttonID: Number - key ring button ID.
:;buttonID: Number - key ring button ID.


=== Returns ===
=== Returns ===


:;invSlot: An [[API TYPE InventorySlotID|inventory slot ID]] that can be used in other [[World of Warcraft API#Inventory Functions|inventory functions]]
:;invSlot: An [[API TYPE InventorySlotID|inventory slot ID]] that can be used in other [[World of Warcraft API#Inventory Functions|inventory functions]]

Revision as of 04:10, 22 April 2007

WoW API < KeyRingButtonIDToInvSlotID

Map a keyring button to an inventory slot button for use in inventory functions.

invSlot = KeyRingButtonIDToInvSlotID(buttonID)

Parameters

Arguments

buttonID
Number - key ring button ID.


Returns

invSlot
An inventory slot ID that can be used in other inventory functions