Click or drag to resize
IMyInventoryTransferItemFrom Method

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

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

Namespace: VRage.Game.ModAPI.Ingame
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
)

Parameters

sourceInventory
Type: VRage.Game.ModAPI.IngameIMyInventory

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

sourceItemIndex
Type: SystemInt32

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

targetItemIndex (Optional)
Type: SystemNullableInt32

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

stackIfPossible (Optional)
Type: SystemNullableBoolean

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

amount (Optional)
Type: SystemNullableMyFixedPoint

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

Return Value

Type: Boolean

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

See Also