Space Engineers
Public Member Functions | Static Public Member Functions | List of all members
Sandbox.Game.Entities.MyCompositeGameLogicComponent Class Reference
Inheritance diagram for Sandbox.Game.Entities.MyCompositeGameLogicComponent:
VRage.Game.Components.MyGameLogicComponent VRage.Game.Components.MyEntityComponentBase VRage.Game.Components.MyComponentBase

Public Member Functions

override void UpdateOnceBeforeFrame ()
 
override void UpdateBeforeSimulation ()
 
override void UpdateBeforeSimulation10 ()
 
override void UpdateBeforeSimulation100 ()
 
override void UpdateAfterSimulation ()
 
override void UpdateAfterSimulation10 ()
 
override void UpdateAfterSimulation100 ()
 
override void Init (MyObjectBuilder_EntityBase objectBuilder)
 
override void MarkForClose ()
 
override void Close ()
 
override MyObjectBuilder_EntityBase GetObjectBuilder (bool copy=false)
 
override T GetAs< T > ()
 
- Public Member Functions inherited from VRage.Game.Components.MyGameLogicComponent
virtual void UpdatingStopped ()
 
- Public Member Functions inherited from VRage.Game.Components.MyEntityComponentBase
override void OnAddedToContainer ()
 Gets called after the container of this component changes More...
 
override void OnBeforeRemovedFromContainer ()
 Gets called before the removal of this component from a container More...
 
- Public Member Functions inherited from VRage.Game.Components.MyComponentBase
virtual void SetContainer (MyComponentContainer container)
 Sets the container of this component. Note that the component is not added to the container here! Therefore, use MyComponentContainer.Add(...) method and it will in turn call this method. Actually, you should seldom have the need to call this method yourself. More...
 
virtual void OnAddedToScene ()
 CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already! More...
 
virtual void OnRemovedFromScene ()
 CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene! More...
 
virtual MyObjectBuilder_ComponentBase Serialize (bool copy=false)
 
virtual void Deserialize (MyObjectBuilder_ComponentBase builder)
 
virtual void Init (MyComponentDefinitionBase definition)
 
virtual bool IsSerialized ()
 Tells the component container serializer whether this component should be saved More...
 

Static Public Member Functions

static MyGameLogicComponent Create (ICollection< MyGameLogicComponent > logicComponents, MyEntity entity)
 

Additional Inherited Members

- Properties inherited from VRage.Game.Components.MyGameLogicComponent
MyEntityUpdateEnum NeedsUpdate [get, set]
 
bool Closed [get, protected set]
 
bool MarkedForClose [get, protected set]
 
override string ComponentTypeDebugString [get]
 
- Properties inherited from VRage.Game.Components.MyEntityComponentBase
MyEntityComponentContainer Container [get]
 
IMyEntity Entity [get]
 
abstract string ComponentTypeDebugString [get]
 Name of the base component type for debug purposes (e.g.: "Position") More...
 
- Properties inherited from VRage.Game.Components.MyComponentBase
MyComponentContainer ContainerBase [get]
 This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More...
 
- Events inherited from VRage.Game.Components.MyEntityComponentBase
static Action< MyEntityComponentBaseOnAfterAddedToContainer
 
Action< MyEntityComponentBaseBeforeRemovedFromContainer
 

Detailed Description

Definition at line 12 of file MyCompositeGameLogicComponent.cs.

Member Function Documentation

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.Close ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 109 of file MyCompositeGameLogicComponent.cs.

static MyGameLogicComponent Sandbox.Game.Entities.MyCompositeGameLogicComponent.Create ( ICollection< MyGameLogicComponent logicComponents,
MyEntity  entity 
)
inlinestatic

Definition at line 21 of file MyCompositeGameLogicComponent.cs.

override T Sandbox.Game.Entities.MyCompositeGameLogicComponent.GetAs< T > ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyComponentBase.

Definition at line 129 of file MyCompositeGameLogicComponent.cs.

override MyObjectBuilder_EntityBase Sandbox.Game.Entities.MyCompositeGameLogicComponent.GetObjectBuilder ( bool  copy = false)
inlinevirtual
override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.Init ( MyObjectBuilder_EntityBase  objectBuilder)
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 93 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.MarkForClose ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 101 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateAfterSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 69 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateAfterSimulation10 ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 77 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateAfterSimulation100 ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 85 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 45 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateBeforeSimulation10 ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 53 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateBeforeSimulation100 ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 61 of file MyCompositeGameLogicComponent.cs.

override void Sandbox.Game.Entities.MyCompositeGameLogicComponent.UpdateOnceBeforeFrame ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MyGameLogicComponent.

Definition at line 37 of file MyCompositeGameLogicComponent.cs.


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