Files
tbd-station-14/Content.Server/Shuttles/Components/StationCentcommComponent.cs
2023-12-19 12:35:31 +11:00

30 lines
653 B
C#

using Robust.Shared.Map;
using Robust.Shared.Utility;
namespace Content.Server.Shuttles.Components;
/// <summary>
/// Spawns Central Command (emergency destination) for a station.
/// </summary>
[RegisterComponent]
public sealed partial class StationCentcommComponent : Component
{
/// <summary>
/// Crude shuttle offset spawning.
/// </summary>
[DataField]
public float ShuttleIndex;
[DataField]
public ResPath Map = new("/Maps/centcomm.yml");
/// <summary>
/// Centcomm entity that was loaded.
/// </summary>
[DataField]
public EntityUid? Entity;
[DataField]
public EntityUid? MapEntity;
}