Space Engineers
|
Public Member Functions | |
virtual void | UpdateOnceBeforeFrame () |
virtual void | UpdateBeforeSimulation () |
virtual void | UpdateBeforeSimulation10 () |
virtual void | UpdateBeforeSimulation100 () |
virtual void | UpdateAfterSimulation () |
virtual void | UpdateAfterSimulation10 () |
virtual void | UpdateAfterSimulation100 () |
virtual void | UpdatingStopped () |
virtual void | Init (MyObjectBuilder_EntityBase objectBuilder) |
abstract MyObjectBuilder_EntityBase | GetObjectBuilder (bool copy=false) |
virtual void | MarkForClose () |
virtual void | Close () |
![]() | |
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... | |
![]() | |
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 T | GetAs< T > () |
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... | |
Properties | |
MyEntityUpdateEnum | NeedsUpdate [get, set] |
bool | Closed [get, protected set] |
bool | MarkedForClose [get, protected set] |
override string | ComponentTypeDebugString [get] |
![]() | |
MyEntityComponentContainer | Container [get] |
IMyEntity | Entity [get] |
abstract string | ComponentTypeDebugString [get] |
Name of the base component type for debug purposes (e.g.: "Position") More... | |
![]() | |
MyComponentContainer | ContainerBase [get] |
This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More... | |
Additional Inherited Members | |
![]() | |
static Action< MyEntityComponentBase > | OnAfterAddedToContainer |
Action< MyEntityComponentBase > | BeforeRemovedFromContainer |
Definition at line 9 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBase, Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Entities.Debris.MyDebrisBase.MyDebrisBaseLogic, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 93 of file MyGameLogicComponent.cs.
|
pure virtual |
Implemented in Sandbox.Game.Components.MyCraftingComponentBlock, Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Components.MyCraftingComponentInteractive, Sandbox.Game.Components.MyCraftingComponentBasic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MySolarGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, Sandbox.Game.Components.MyEntityGameLogic, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 83 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 88 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Entities.Debris.MyDebrisBase.MyDebrisBaseLogic, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 73 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 75 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyCraftingComponentBlock, Sandbox.Game.Components.MyCraftingComponentInteractive, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Components.MyCraftingComponentBasic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 77 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 67 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 69 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Entities.MyMeteor.MyMeteorGameLogic, Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MySolarGameLogicComponent, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 71 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyEntityGameLogic, Sandbox.Game.Entities.MyCompositeGameLogicComponent, and VRage.Game.Components.MyNullGameLogicComponent.
Definition at line 65 of file MyGameLogicComponent.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Game.Components.MyEntityGameLogic.
Definition at line 79 of file MyGameLogicComponent.cs.
|
getprotected set |
Definition at line 61 of file MyGameLogicComponent.cs.
|
get |
Definition at line 97 of file MyGameLogicComponent.cs.
|
getprotected set |
Definition at line 63 of file MyGameLogicComponent.cs.
|
getset |
Definition at line 12 of file MyGameLogicComponent.cs.