API ContainerIDToInventoryID

bagID = ContainerIDToInventoryID(containerID)
==Arguments==
:;bagID: - BagID between 1 and NUM_BAG_SLOTS + NUM_BANKBAGSLOTS
==Returns==
:;inventoryID: - InventorySlotId used in functions like () and ()
==Example==
Prints all bag container IDs and their respective inventory IDs(You need to be at the bank for bank inventory IDs to return valid results)
 for i = 1, NUM_BAG_SLOTS + NUM_BANKBAGSLOTS do
 local invID = ContainerIDToInventoryID(i)
 print(i, invID, GetInventoryItemLink("player", invID))
 end
==Values==