Show / Hide Table of Contents

Class MyObjectBuilder_InventoryItem

Inheritance
System.Object
MyObjectBuilder_Base
MyObjectBuilder_InventoryItem
Inherited Members
MyObjectBuilder_Base.ShouldSerializeSubtypeId()
MyObjectBuilder_Base.Clone()
MyObjectBuilder_Base.Equals(MyObjectBuilder_Base)
MyObjectBuilder_Base.SubtypeId
MyObjectBuilder_Base.SubtypeName
MyObjectBuilder_Base.TypeId
Namespace: VRage.Game
Assembly: VRage.Game.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_InventoryItem : MyObjectBuilder_Base

Constructors

MyObjectBuilder_InventoryItem()

Declaration
public MyObjectBuilder_InventoryItem()

Fields

Amount

Declaration
public MyFixedPoint Amount
Field Value
Type Description
VRage.MyFixedPoint

Content

Obsolete. It is here only to keep backwards compatibility with old saves. Nulls content when unsupported.

Declaration
[DynamicObjectBuilder(false)]
[Serialize]
public MyObjectBuilder_PhysicalObject Content
Field Value
Type Description
MyObjectBuilder_PhysicalObject

ItemId

Declaration
public uint ItemId
Field Value
Type Description
System.UInt32

PhysicalContent

Declaration
[DynamicObjectBuilder(false)]
[Serialize]
public MyObjectBuilder_PhysicalObject PhysicalContent
Field Value
Type Description
MyObjectBuilder_PhysicalObject

Scale

Declaration
public float Scale
Field Value
Type Description
System.Single

Properties

Obsolete_AmountDecimal

Declaration
[NoSerialize]
public Decimal Obsolete_AmountDecimal { get; set; }
Property Value
Type Description
System.Decimal

Methods

ShouldSerializeContent()

Declaration
public bool ShouldSerializeContent()
Returns
Type Description
System.Boolean

ShouldSerializeObsolete_AmountDecimal()

Declaration
public bool ShouldSerializeObsolete_AmountDecimal()
Returns
Type Description
System.Boolean

ShouldSerializeScale()

Declaration
public bool ShouldSerializeScale()
Returns
Type Description
System.Boolean

Extension Methods

MyObjectBuilderExtensions.GetId(MyObjectBuilder_Base)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾