Click or drag to resize
IMyInventoryTransferItemFrom Method (IMyInventory, Int32, NullableInt32, NullableBoolean, NullableMyFixedPoint, Boolean)

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
bool TransferItemFrom(
	IMyInventory sourceInventory,
	int sourceItemIndex,
	Nullable<int> targetItemIndex = null,
	Nullable<bool> stackIfPossible = null,
	Nullable<MyFixedPoint> amount = null,
	bool checkConnection = true
)

Parameters

sourceInventory
Type: VRage.Game.ModAPI.IngameIMyInventory

[Missing <param name="sourceInventory"/> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

sourceItemIndex
Type: SystemInt32

[Missing <param name="sourceItemIndex"/> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

targetItemIndex (Optional)
Type: SystemNullableInt32

[Missing <param name="targetItemIndex"/> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

stackIfPossible (Optional)
Type: SystemNullableBoolean

[Missing <param name="stackIfPossible"/> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

amount (Optional)
Type: SystemNullableMyFixedPoint

[Missing <param name="amount"/> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

checkConnection (Optional)
Type: SystemBoolean

[Missing <param name="checkConnection"/> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:VRage.Game.ModAPI.IMyInventory.TransferItemFrom(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint},System.Boolean)"]

See Also