public bool Inventory.CanFitItem(Vector2i itemSize, out int col, out int row)
Checks whether it can fit item using the supplied arguments.
Return type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Parameters
itemSize- Parameter type:
Vector2iSpecifies item size.
col- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.The target column in the inventory grid.
row- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.The target row in the inventory grid.
Returns: A Boolean result. The member description explains the condition being checked.