WoW:API ContainerIDToInventoryID: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 20: Line 20:


: invID contains the bag's inventoryID
: invID contains the bag's inventoryID
----
----
{{Template:WoW API}}
{{WoW API}}
[[Category:API Functions|ContainerIDToInventoryID]]
[[Category:API Container Functions|ContainerIDToInventoryID]]
[[Category:API Inventory Functions|ContainerIDToInventoryID]]

Revision as of 04:56, 4 January 2006

ContainerIDToInventoryID -Documentation by Luke1410-

Arguments
(containedID)
containedID
number - number of the bag to get the inventoryID for

Returns
inventoryID
inventoryID - the bag's inventory ID

Examples
local invID = ContainerIDToInventoryID(1)  
--Returns the invID

Result
invID contains the bag's inventoryID

Template:WoW API