Initial commit
This commit is contained in:
6
api/ContainerIDToInventoryID.lua
Normal file
6
api/ContainerIDToInventoryID.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param container number
|
||||
---@return number inventoryID
|
||||
---Returns the inventoryID corresponding to a given containerID. The results of this function can be used with GetInventorySlotInfo() and other related inventory functions. It seemingly does not work with containers that are considered special, like backpack, bank or reagent bank (anymore?)! Calling this method for those containerIDs will result in an "invalid container ID" error.
|
||||
function ContainerIDToInventoryID(container) end
|
||||
Reference in New Issue
Block a user