WoW:API KeyRingButtonIDToInvSlotID: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API KeyRingButtonIDToInvSlotID to WoW:API KeyRingButtonIDToInvSlotID without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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]]

Latest revision as of 04:46, 15 August 2023

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