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

Public Member Functions

 MyShipSoundComponent ()
 
bool InitComponent (MyCubeGrid shipGrid)
 
void Update ()
 
void Update100 ()
 
void DestroyComponent ()
 
- 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 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...
 

Static Public Member Functions

static void ClearShipSounds ()
 
static void SetDefinition (MyShipSoundSystemDefinition def)
 
static void AddShipSounds (MyShipSoundsDefinition shipSoundGroup)
 
static void ActualizeGroups ()
 

Public Attributes

bool ShipHasChanged = true
 

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 23 of file MyShipSoundComponent.cs.

Constructor & Destructor Documentation

Sandbox.Game.EntityComponents.MyShipSoundComponent.MyShipSoundComponent ( )
inline

Definition at line 152 of file MyShipSoundComponent.cs.

Member Function Documentation

static void Sandbox.Game.EntityComponents.MyShipSoundComponent.ActualizeGroups ( )
inlinestatic

Definition at line 88 of file MyShipSoundComponent.cs.

static void Sandbox.Game.EntityComponents.MyShipSoundComponent.AddShipSounds ( MyShipSoundsDefinition  shipSoundGroup)
inlinestatic

Definition at line 81 of file MyShipSoundComponent.cs.

static void Sandbox.Game.EntityComponents.MyShipSoundComponent.ClearShipSounds ( )
inlinestatic

Definition at line 71 of file MyShipSoundComponent.cs.

void Sandbox.Game.EntityComponents.MyShipSoundComponent.DestroyComponent ( )
inline

Definition at line 906 of file MyShipSoundComponent.cs.

bool Sandbox.Game.EntityComponents.MyShipSoundComponent.InitComponent ( MyCubeGrid  shipGrid)
inline

Definition at line 161 of file MyShipSoundComponent.cs.

static void Sandbox.Game.EntityComponents.MyShipSoundComponent.SetDefinition ( MyShipSoundSystemDefinition  def)
inlinestatic

Definition at line 76 of file MyShipSoundComponent.cs.

void Sandbox.Game.EntityComponents.MyShipSoundComponent.Update ( )
inline

Definition at line 197 of file MyShipSoundComponent.cs.

void Sandbox.Game.EntityComponents.MyShipSoundComponent.Update100 ( )
inline

Definition at line 517 of file MyShipSoundComponent.cs.

Member Data Documentation

bool Sandbox.Game.EntityComponents.MyShipSoundComponent.ShipHasChanged = true

Definition at line 103 of file MyShipSoundComponent.cs.

Property Documentation

override string Sandbox.Game.EntityComponents.MyShipSoundComponent.ComponentTypeDebugString
get

Definition at line 901 of file MyShipSoundComponent.cs.


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