Space Engineers
Public Member Functions | Public Attributes | List of all members
VRage.Game.MyObjectBuilder_PhysicalObject Class Reference
Inheritance diagram for VRage.Game.MyObjectBuilder_PhysicalObject:
VRage.ObjectBuilders.MyObjectBuilder_Base Sandbox.Common.ObjectBuilders.Definitions.MyObjectBuilder_GasContainerObject VRage.Game.MyObjectBuilder_AmmoMagazine VRage.Game.MyObjectBuilder_BlockItem VRage.Game.MyObjectBuilder_Component VRage.Game.MyObjectBuilder_Ingot VRage.Game.MyObjectBuilder_Ore VRage.Game.MyObjectBuilder_PhysicalGunObject VRage.Game.MyObjectBuilder_TreeObject VRage.Game.ObjectBuilders.MyObjectBuilder_UsableItem

Public Member Functions

bool ShouldSerializeDurabilityHP ()
 
virtual bool CanStack (MyObjectBuilder_PhysicalObject a)
 
virtual bool CanStack (MyObjectBuilderType typeId, MyStringHash subtypeId, MyItemFlags flags)
 
 MyObjectBuilder_PhysicalObject ()
 
 MyObjectBuilder_PhysicalObject (MyItemFlags flags)
 
virtual MyDefinitionId GetObjectId ()
 
- Public Member Functions inherited from VRage.ObjectBuilders.MyObjectBuilder_Base
bool ShouldSerializeSubtypeId ()
 
void Save (string filepath)
 
virtual MyObjectBuilder_Base Clone ()
 

Public Attributes

MyItemFlags Flags = MyItemFlags.None
 
float DurabilityHP = null
 This is used for GUI to show the amount of health points (durability) of the weapons and tools. This is updated through Durability entity component if entity exists.. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file MyObjectBuilder_PhysicalObject.cs.

Constructor & Destructor Documentation

VRage.Game.MyObjectBuilder_PhysicalObject.MyObjectBuilder_PhysicalObject ( )
inline

Definition at line 44 of file MyObjectBuilder_PhysicalObject.cs.

VRage.Game.MyObjectBuilder_PhysicalObject.MyObjectBuilder_PhysicalObject ( MyItemFlags  flags)
inline

Definition at line 46 of file MyObjectBuilder_PhysicalObject.cs.

Member Function Documentation

virtual bool VRage.Game.MyObjectBuilder_PhysicalObject.CanStack ( MyObjectBuilder_PhysicalObject  a)
inlinevirtual
virtual bool VRage.Game.MyObjectBuilder_PhysicalObject.CanStack ( MyObjectBuilderType  typeId,
MyStringHash  subtypeId,
MyItemFlags  flags 
)
inlinevirtual
virtual MyDefinitionId VRage.Game.MyObjectBuilder_PhysicalObject.GetObjectId ( )
inlinevirtual

Reimplemented in VRage.Game.MyObjectBuilder_BlockItem.

Definition at line 51 of file MyObjectBuilder_PhysicalObject.cs.

bool VRage.Game.MyObjectBuilder_PhysicalObject.ShouldSerializeDurabilityHP ( )
inline

Definition at line 22 of file MyObjectBuilder_PhysicalObject.cs.

Member Data Documentation

float VRage.Game.MyObjectBuilder_PhysicalObject.DurabilityHP = null

This is used for GUI to show the amount of health points (durability) of the weapons and tools. This is updated through Durability entity component if entity exists..

Definition at line 21 of file MyObjectBuilder_PhysicalObject.cs.

MyItemFlags VRage.Game.MyObjectBuilder_PhysicalObject.Flags = MyItemFlags.None

Definition at line 15 of file MyObjectBuilder_PhysicalObject.cs.


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