Class MyObjectBuilder_InventoryItem
Inheritance
System.Object
MyObjectBuilder_InventoryItem
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
ItemId
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
PhysicalContent
Declaration
[DynamicObjectBuilder(false)]
[Serialize]
public MyObjectBuilder_PhysicalObject PhysicalContent
Field Value
Scale
Declaration
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