Click or drag to resize
IMyInventoryTransferItemTo Method

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

[Missing <summary> documentation for "M:VRage.Game.ModAPI.Ingame.IMyInventory.TransferItemTo(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 TransferItemTo(
	IMyInventory dst,
	int sourceItemIndex,
	Nullable<int> targetItemIndex = null,
	Nullable<bool> stackIfPossible = null,
	Nullable<MyFixedPoint> amount = null
)

Parameters

dst
Type: VRage.Game.ModAPI.IngameIMyInventory

[Missing <param name="dst"/> documentation for "M:VRage.Game.ModAPI.Ingame.IMyInventory.TransferItemTo(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.TransferItemTo(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.TransferItemTo(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.TransferItemTo(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.TransferItemTo(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.TransferItemTo(VRage.Game.ModAPI.Ingame.IMyInventory,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{VRage.MyFixedPoint})"]

See Also