Show / Hide Table of Contents

Class MyObjectBuilder_EntityBase

Inheritance
System.Object
MyObjectBuilder_Base
MyObjectBuilder_EntityBase
MyObjectBuilder_AutomaticRifle
MyObjectBuilder_HandDrill
MyObjectBuilder_Meteor
MyObjectBuilder_Missile
MyObjectBuilder_SafeZone
MyObjectBuilder_Waypoint
MyObjectBuilder_Character
MyObjectBuilder_CubeGrid
MyObjectBuilder_CubePlacer
MyObjectBuilder_DestroyableItem
MyObjectBuilder_EngineerToolBase
MyObjectBuilder_EnvironmentItems
MyObjectBuilder_FloatingObject
MyObjectBuilder_FracturedPiece
MyObjectBuilder_GhostCharacter
MyObjectBuilder_HandToolBase
MyObjectBuilder_ManipulationTool
MyObjectBuilder_ProxyAntenna
MyObjectBuilder_Tree
MyObjectBuilder_VoxelMap
MyObjectBuilder_CargoContainerInventoryBagEntity
MyObjectBuilder_InventoryBagEntity
MyObjectBuilder_ModifiableEntity
MyObjectBuilder_ReplicableEntity
Inherited Members
MyObjectBuilder_Base.ShouldSerializeSubtypeId()
MyObjectBuilder_Base.Clone()
MyObjectBuilder_Base.Equals(MyObjectBuilder_Base)
MyObjectBuilder_Base.SubtypeId
MyObjectBuilder_Base.SubtypeName
MyObjectBuilder_Base.TypeId
Namespace: VRage.ObjectBuilders
Assembly: VRage.Game.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_EntityBase : MyObjectBuilder_Base

Constructors

MyObjectBuilder_EntityBase()

Declaration
public MyObjectBuilder_EntityBase()

Fields

ComponentContainer

Declaration
[Serialize]
public MyObjectBuilder_ComponentContainer ComponentContainer
Field Value
Type Description
MyObjectBuilder_ComponentContainer

EntityDefinitionId

Declaration
[NoSerialize]
public Nullable<SerializableDefinitionId> EntityDefinitionId
Field Value
Type Description
System.Nullable<SerializableDefinitionId>

EntityId

Declaration
public long EntityId
Field Value
Type Description
System.Int64

LocalPositionAndOrientation

Declaration
public Nullable<MyPositionAndOrientation> LocalPositionAndOrientation
Field Value
Type Description
System.Nullable<VRage.MyPositionAndOrientation>

Name

Declaration
[Serialize]
public string Name
Field Value
Type Description
System.String

PersistentFlags

Declaration
public MyPersistentEntityFlags2 PersistentFlags
Field Value
Type Description
MyPersistentEntityFlags2

PositionAndOrientation

Declaration
public Nullable<MyPositionAndOrientation> PositionAndOrientation
Field Value
Type Description
System.Nullable<VRage.MyPositionAndOrientation>

Methods

Remap(IMyRemapHelper)

Remaps this entity's entityId to a new value. If there are cross-referenced between different entities in this object builder, the remapHelper should be used to rememeber these references and retrieve them.

Declaration
public virtual void Remap(IMyRemapHelper remapHelper)
Parameters
Type Name Description
IMyRemapHelper remapHelper

ShouldSerializeComponentContainer()

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

ShouldSerializeEntityDefinitionId()

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

ShouldSerializeLocalPositionAndOrientation()

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

ShouldSerializePositionAndOrientation()

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

Extension Methods

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