WoW:API ContainerIDToInventoryID: Difference between revisions
Jump to navigation
Jump to search
ContainerIDToInventoryID -Documentation by Luke1410-
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
---- | ---- | ||
;''Arguments'' | ;''Arguments'' | ||
:;:( | :;:(bagID) | ||
:::; | :::;[[API TYPE bagID|bagID]] : number - number of the bag to get the inventoryID for | ||
---- | ---- | ||
Line 9: | Line 9: | ||
:;inventoryID | :;inventoryID | ||
:: inventoryID - the bag's inventory ID | :: inventoryID - the bag's inventory ID used in fonctions like [[API PutItemInBag|PutItemInBag(inventoryId)]] | ||
---- | ---- | ||
;''Examples'' | ;''Examples'' |
Revision as of 23:44, 14 March 2006
- Arguments
-
- (bagID)
-
- bagID
- number - number of the bag to get the inventoryID for
- Returns
- inventoryID
- inventoryID - the bag's inventory ID used in fonctions like PutItemInBag(inventoryId)
- Examples
local invID = ContainerIDToInventoryID(1) --Returns the invID
- Result
- invID contains the bag's inventoryID