Class MyEntityComponentBase
Inheritance
System.Object
MyEntityComponentBase
Assembly: VRage.Game.dll
Syntax
public abstract class MyEntityComponentBase : MyComponentBase, IMyEntityComponentBase, IMyComponentBase
Constructors
MyEntityComponentBase()
Declaration
protected MyEntityComponentBase()
Properties
AttachSyncToEntity
Declaration
public virtual bool AttachSyncToEntity { get; }
Property Value
Type |
Description |
System.Boolean |
|
ComponentTypeDebugString
Name of the base component type for debug purposes (e.g.: "Position")
Declaration
public abstract string ComponentTypeDebugString { get; }
Property Value
Type |
Description |
System.String |
|
Container
Declaration
public IMyEntityComponentContainer Container { get; }
Property Value
Type |
Description |
VRage.Game.Components.Interfaces.IMyEntityComponentContainer |
|
Entity
Declaration
public IMyEntity Entity { get; }
Property Value
Methods
OnAddedToContainer()
Declaration
public override void OnAddedToContainer()
Overrides
OnBeforeRemovedFromContainer()
Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
Events
BeforeRemovedFromContainer
Declaration
public event Action<IMyEntityComponentBase> BeforeRemovedFromContainer
Event Type
Type |
Description |
System.Action<VRage.Game.Components.Interfaces.IMyEntityComponentBase> |
|
OnAfterAddedToContainer
Declaration
public static event Action<MyEntityComponentBase> OnAfterAddedToContainer
Event Type
Extension Methods