Show / Hide Table of Contents

Class MyCharacterComponent

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyCharacterComponent
MyCharacterSoundComponent
MyCharacterDetectorComponent
MyCharacterJetpackComponent
MyCharacterOxygenComponent
MyCharacterPickupComponent
MyCharacterRagdollComponent
MyCharacterWeaponPositionComponent
MyInventorySpawnComponent
Inherited Members
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.Entities.Character.Components
Assembly: Sandbox.Game.dll
Syntax
public abstract class MyCharacterComponent : MyEntityComponentBase, IMyEntityComponentBase, IMyComponentBase

Constructors

MyCharacterComponent()

Declaration
protected MyCharacterComponent()

Properties

Character

Declaration
public MyCharacter Character { get; }
Property Value
Type Description
Sandbox.Game.Entities.Character.MyCharacter

ComponentTypeDebugString

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

NeedsUpdateAfterSimulation

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateAfterSimulation { get; set; }
Property Value
Type Description
System.Boolean

NeedsUpdateAfterSimulation10

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateAfterSimulation10 { get; set; }
Property Value
Type Description
System.Boolean

NeedsUpdateAfterSimulationParallel

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateAfterSimulationParallel { get; set; }
Property Value
Type Description
System.Boolean

NeedsUpdateBeforeSimulation

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateBeforeSimulation { get; set; }
Property Value
Type Description
System.Boolean

NeedsUpdateBeforeSimulation100

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateBeforeSimulation100 { get; set; }
Property Value
Type Description
System.Boolean

NeedsUpdateBeforeSimulationParallel

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateBeforeSimulationParallel { get; set; }
Property Value
Type Description
System.Boolean

NeedsUpdateSimulation

This set's flag for update. Set it after add to container!

Declaration
public bool NeedsUpdateSimulation { get; set; }
Property Value
Type Description
System.Boolean

Methods

OnAddedToContainer()

Declaration
public override void OnAddedToContainer()
Overrides
MyEntityComponentBase.OnAddedToContainer()

OnBeforeRemovedFromContainer()

Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
MyEntityComponentBase.OnBeforeRemovedFromContainer()

OnCharacterDead()

Declaration
public virtual void OnCharacterDead()

Simulate()

Declaration
public virtual void Simulate()

UpdateAfterSimulation()

Declaration
public virtual void UpdateAfterSimulation()

UpdateAfterSimulation10()

Declaration
public virtual void UpdateAfterSimulation10()

UpdateAfterSimulationParallel()

Declaration
public virtual void UpdateAfterSimulationParallel()

UpdateBeforeSimulation()

Declaration
public virtual void UpdateBeforeSimulation()

UpdateBeforeSimulation100()

Declaration
public virtual void UpdateBeforeSimulation100()

UpdateBeforeSimulationParallel()

Declaration
public virtual void UpdateBeforeSimulationParallel()

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
☀
☾