Show / Hide Table of Contents

Class MyShipSoundComponent

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyShipSoundComponent
Inherited Members
MyEntityComponentBase.OnAddedToContainer()
MyEntityComponentBase.OnBeforeRemovedFromContainer()
MyEntityComponentBase.Container
MyEntityComponentBase.Entity
MyEntityComponentBase.AttachSyncToEntity
MyEntityComponentBase.OnAfterAddedToContainer
MyEntityComponentBase.BeforeRemovedFromContainer
MyComponentBase.SetContainer(IMyComponentContainer)
MyComponentBase.GetAs<T>()
MyComponentBase.OnAddedToScene()
MyComponentBase.OnRemovedFromScene()
MyComponentBase.Serialize(Boolean)
MyComponentBase.Deserialize(MyObjectBuilder_ComponentBase)
MyComponentBase.Init(MyComponentDefinitionBase)
MyComponentBase.IsSerialized()
MyComponentBase.RemoveExistingComponentOnNewInsert
MyComponentBase.ContainerBase
Namespace: Sandbox.Game.EntityComponents
Assembly: Sandbox.Game.dll
Syntax
[MyComponentBuilder]
public class MyShipSoundComponent : MyEntityComponentBase, IMyEntityComponentBase, IMyComponentBase

Constructors

MyShipSoundComponent()

Declaration
public MyShipSoundComponent()

Fields

ShipHasChanged

Declaration
public bool ShipHasChanged
Field Value
Type Description
System.Boolean

Properties

ComponentTypeDebugString

Declaration
public override string ComponentTypeDebugString { get; }
Property Value
Type Description
System.String
Overrides
MyEntityComponentBase.ComponentTypeDebugString

Methods

ActualizeGroups()

Declaration
public static void ActualizeGroups()

AddShipSounds(MyShipSoundsDefinition)

Declaration
public static void AddShipSounds(MyShipSoundsDefinition shipSoundGroup)
Parameters
Type Name Description
MyShipSoundsDefinition shipSoundGroup

ClearShipSounds()

Declaration
public static void ClearShipSounds()

DeSchedule()

Declaration
protected void DeSchedule()

DestroyComponent()

Declaration
public void DestroyComponent()

InitComponent(MyCubeGrid)

Declaration
public bool InitComponent(MyCubeGrid shipGrid)
Parameters
Type Name Description
MyCubeGrid shipGrid
Returns
Type Description
System.Boolean

Schedule()

Declaration
protected void Schedule()

SetDefinition(MyShipSoundSystemDefinition)

Declaration
public static void SetDefinition(MyShipSoundSystemDefinition def)
Parameters
Type Name Description
MyShipSoundSystemDefinition def

Update()

Declaration
public void Update()

Update100()

Declaration
public void Update100()

Extension Methods

MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.UnregisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾