Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRage.Game.MyObjectBuilder_InventoryItem Class Reference
Inheritance diagram for VRage.Game.MyObjectBuilder_InventoryItem:
VRage.ObjectBuilders.MyObjectBuilder_Base

Public Member Functions

bool ShouldSerializeScale ()
 
bool ShouldSerializeObsolete_AmountDecimal ()
 
bool ShouldSerializeContent ()
 
- Public Member Functions inherited from VRage.ObjectBuilders.MyObjectBuilder_Base
bool ShouldSerializeSubtypeId ()
 
void Save (string filepath)
 
virtual MyObjectBuilder_Base Clone ()
 

Public Attributes

MyFixedPoint Amount = 1
 
float Scale = 1.0f
 
MyObjectBuilder_PhysicalObject Content
 Obsolete. It is here only to keep backwards compatibility with old saves. Nulls content when unsupported. More...
 
MyObjectBuilder_PhysicalObject PhysicalContent
 
uint ItemId = 0
 

Properties

decimal Obsolete_AmountDecimal [get, set]
 
- Properties inherited from VRage.ObjectBuilders.MyObjectBuilder_Base
MyStringHash SubtypeId [get]
 
string SubtypeName [get, set]
 
MyObjectBuilderType TypeId [get]
 

Detailed Description

Definition at line 10 of file MyObjectBuilder_InventoryItem.cs.

Member Function Documentation

bool VRage.Game.MyObjectBuilder_InventoryItem.ShouldSerializeContent ( )
inline

Definition at line 39 of file MyObjectBuilder_InventoryItem.cs.

bool VRage.Game.MyObjectBuilder_InventoryItem.ShouldSerializeObsolete_AmountDecimal ( )
inline

Definition at line 28 of file MyObjectBuilder_InventoryItem.cs.

bool VRage.Game.MyObjectBuilder_InventoryItem.ShouldSerializeScale ( )
inline

Definition at line 19 of file MyObjectBuilder_InventoryItem.cs.

Member Data Documentation

MyFixedPoint VRage.Game.MyObjectBuilder_InventoryItem.Amount = 1

Definition at line 14 of file MyObjectBuilder_InventoryItem.cs.

MyObjectBuilder_PhysicalObject VRage.Game.MyObjectBuilder_InventoryItem.Content

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

Definition at line 37 of file MyObjectBuilder_InventoryItem.cs.

uint VRage.Game.MyObjectBuilder_InventoryItem.ItemId = 0

Definition at line 48 of file MyObjectBuilder_InventoryItem.cs.

MyObjectBuilder_PhysicalObject VRage.Game.MyObjectBuilder_InventoryItem.PhysicalContent

Definition at line 45 of file MyObjectBuilder_InventoryItem.cs.

float VRage.Game.MyObjectBuilder_InventoryItem.Scale = 1.0f

Definition at line 18 of file MyObjectBuilder_InventoryItem.cs.

Property Documentation

decimal VRage.Game.MyObjectBuilder_InventoryItem.Obsolete_AmountDecimal
getset

Definition at line 24 of file MyObjectBuilder_InventoryItem.cs.


The documentation for this class was generated from the following file: