Summary

public bool TransferItemFrom(IMyInventory sourceInventory, int sourceItemIndex, int? targetItemIndex, bool? stackIfPossible, MyFixedPoint? amount, bool checkConnection)

Transfer item from one inventory to another

Returns

bool

True if checkConnection is false, or inventories are connected with correct conveyor

Parameters

Summary

public bool TransferItemFrom(IMyInventory sourceInventory, IMyInventoryItem item, MyFixedPoint amount)

Transfer item from one inventory to another

Returns

bool

True if two inventories are connected

Parameters

Remarks

Items could be transferred only through conveyors