Show / Hide Table of Contents

Interface IMyInventoryItem

Describes item stack in inventory (program block interface)

Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Syntax
public interface IMyInventoryItem

Properties

Amount

Gets or sets amount of items

Declaration
MyFixedPoint Amount { get; set; }
Property Value
Type Description
VRage.MyFixedPoint

Content

Gets or sets content of inventory item. Cast it to MyObjectBuilder_PhysicalObject

Declaration
MyObjectBuilder_Base Content { get; set; }
Property Value
Type Description
MyObjectBuilder_Base

ItemId

Item Id. Used to determine exact stack

Declaration
uint ItemId { get; set; }
Property Value
Type Description
System.UInt32

Scale

Gets or sets scale of Floating object

Declaration
float Scale { get; set; }
Property Value
Type Description
System.Single

Extension Methods

MyInventoryItemExtension.GetDefinitionId(IMyInventoryItem)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾