Class MyRespawnComponent
Inheritance
System.Object
MyRespawnComponent
Assembly: SpaceEngineers.Game.dll
Syntax
[MyComponentType]
[MyComponentBuilder]
public class MyRespawnComponent : MyEntityRespawnComponentBase, IMyEntityComponentBase, IMyCameraController, IMyControllableEntity, IMyControllableEntity, IMyRespawnComponent, IMyComponentBase
Constructors
MyRespawnComponent()
Declaration
public MyRespawnComponent()
Properties
ComponentTypeDebugString
Declaration
public override string ComponentTypeDebugString { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Entity
Declaration
public MyTerminalBlock Entity { get; }
Property Value
Type |
Description |
Sandbox.Game.Entities.Cube.MyTerminalBlock |
|
SpawnWithoutOxygen
Declaration
public bool SpawnWithoutOxygen { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CanPlayerSpawn(Int64, Boolean)
Declaration
public bool CanPlayerSpawn(long playerId, bool acceptPublicRespawn)
Parameters
Type |
Name |
Description |
System.Int64 |
playerId |
|
System.Boolean |
acceptPublicRespawn |
|
Returns
Type |
Description |
System.Boolean |
|
GetAllRespawns()
Declaration
public static HashSetReader<MyRespawnComponent> GetAllRespawns()
Returns
GetOxygenLevel()
Declaration
public float GetOxygenLevel()
Returns
Type |
Description |
System.Single |
|
GetSpawnPosition()
Declaration
public MatrixD GetSpawnPosition()
Returns
OnAddedToContainer()
Declaration
public override void OnAddedToContainer()
Overrides
OnAddedToScene()
Declaration
public override void OnAddedToScene()
Overrides
OnBeforeRemovedFromContainer()
Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
OnRemovedFromScene()
Declaration
public override void OnRemovedFromScene()
Overrides
Implements
Extension Methods