Space Engineers
Public Member Functions | Static Public Member Functions | Properties | List of all members
VRage.Game.Components.MyRespawnComponent Class Reference
Inheritance diagram for VRage.Game.Components.MyRespawnComponent:
VRage.Game.Components.MyEntityComponentBase VRage.Game.Components.MyComponentBase

Public Member Functions

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...
 
override 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...
 
override 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...
 
override bool IsSerialized ()
 Tells the component container serializer whether this component should be saved More...
 
MatrixD GetSpawnPosition (MatrixD worldMatrix)
 
- 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 T GetAs< T > ()
 
virtual MyObjectBuilder_ComponentBase Serialize (bool copy=false)
 
virtual void Deserialize (MyObjectBuilder_ComponentBase builder)
 
virtual void Init (MyComponentDefinitionBase definition)
 

Static Public Member Functions

static ListReader< MyRespawnComponentGetAllRespawns ()
 

Properties

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...
 

Additional Inherited Members

- Events inherited from VRage.Game.Components.MyEntityComponentBase
static Action< MyEntityComponentBaseOnAfterAddedToContainer
 
Action< MyEntityComponentBaseBeforeRemovedFromContainer
 

Detailed Description

Definition at line 15 of file MyRespawnComponent.cs.

Member Function Documentation

static ListReader<MyRespawnComponent> VRage.Game.Components.MyRespawnComponent.GetAllRespawns ( )
inlinestatic

Definition at line 21 of file MyRespawnComponent.cs.

MatrixD VRage.Game.Components.MyRespawnComponent.GetSpawnPosition ( MatrixD  worldMatrix)
inline

Definition at line 88 of file MyRespawnComponent.cs.

override bool VRage.Game.Components.MyRespawnComponent.IsSerialized ( )
inlinevirtual

Tells the component container serializer whether this component should be saved

Returns

Reimplemented from VRage.Game.Components.MyComponentBase.

Definition at line 71 of file MyRespawnComponent.cs.

override void VRage.Game.Components.MyRespawnComponent.OnAddedToContainer ( )
inlinevirtual

Gets called after the container of this component changes

Reimplemented from VRage.Game.Components.MyEntityComponentBase.

Definition at line 26 of file MyRespawnComponent.cs.

override void VRage.Game.Components.MyRespawnComponent.OnAddedToScene ( )
inlinevirtual

CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already!

Reimplemented from VRage.Game.Components.MyComponentBase.

Definition at line 55 of file MyRespawnComponent.cs.

override void VRage.Game.Components.MyRespawnComponent.OnBeforeRemovedFromContainer ( )
inlinevirtual

Gets called before the removal of this component from a container

Reimplemented from VRage.Game.Components.MyEntityComponentBase.

Definition at line 42 of file MyRespawnComponent.cs.

override void VRage.Game.Components.MyRespawnComponent.OnRemovedFromScene ( )
inlinevirtual

CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene!

Reimplemented from VRage.Game.Components.MyComponentBase.

Definition at line 63 of file MyRespawnComponent.cs.

Property Documentation

override string VRage.Game.Components.MyRespawnComponent.ComponentTypeDebugString
get

Definition at line 99 of file MyRespawnComponent.cs.


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