Files
crystall-punk-14/Content.Shared/Cargo/Components/CargoShuttleComponent.cs

26 lines
830 B
C#
Raw Normal View History

2022-06-23 14:36:47 +10:00
using Robust.Shared.Map;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
2022-06-23 14:36:47 +10:00
namespace Content.Shared.Cargo.Components;
/// <summary>
/// Present on cargo shuttles to provide metadata such as preventing spam calling.
/// </summary>
[RegisterComponent, Access(typeof(SharedCargoSystem))]
public sealed class CargoShuttleComponent : Component
{
/// <summary>
/// The assigned station for this cargo shuttle.
/// </summary>
[DataField("station")]
2022-06-23 14:36:47 +10:00
public EntityUid? Station;
/// <summary>
/// The paper-type prototype to spawn with the order information.
/// </summary>
[DataField("printerOutput", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string PrinterOutput = "PaperCargoInvoice";
2022-06-23 14:36:47 +10:00
}