2023-05-31 11:13:02 +10:00
|
|
|
using Robust.Shared.GameStates;
|
2023-01-17 08:32:46 +00:00
|
|
|
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>
|
2023-05-31 11:13:02 +10:00
|
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedCargoSystem))]
|
2022-06-23 14:36:47 +10:00
|
|
|
public sealed class CargoShuttleComponent : Component
|
|
|
|
|
{
|
2023-01-17 08:32:46 +00:00
|
|
|
/// <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
|
|
|
}
|