Files
crystall-punk-14/Content.Server/Shuttles/Components/StationCentcommComponent.cs

30 lines
653 B
C#
Raw Permalink Normal View History

2023-05-24 21:28:44 +10:00
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
2023-05-24 21:28:44 +10:00
{
/// <summary>
/// Crude shuttle offset spawning.
/// </summary>
[DataField]
2023-05-24 21:28:44 +10:00
public float ShuttleIndex;
[DataField]
2023-05-24 21:28:44 +10:00
public ResPath Map = new("/Maps/centcomm.yml");
/// <summary>
/// Centcomm entity that was loaded.
/// </summary>
[DataField]
public EntityUid? Entity;
2023-05-24 21:28:44 +10:00
[DataField]
public EntityUid? MapEntity;
2023-05-24 21:28:44 +10:00
}