mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* Make departmental orders consoles print slips (#36944)
* Make departmental orders consoles print slips
* feed back cycle
(cherry picked from commit cfba56c2b4)
* DeltaV integration for departmental orders consoles
* test fail unreal
* fix
42 lines
976 B
C#
42 lines
976 B
C#
using Content.Shared.Cargo.Prototypes;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Cargo.Components;
|
|
|
|
/// <summary>
|
|
/// Holds data for an order slip required for insertion into a console
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class CargoSlipComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The requested product
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<CargoProductPrototype> Product;
|
|
|
|
/// <summary>
|
|
/// The provided value for the requester form field
|
|
/// </summary>
|
|
[DataField]
|
|
public string Requester;
|
|
|
|
/// <summary>
|
|
/// The provided value for the reason form field
|
|
/// </summary>
|
|
[DataField]
|
|
public string Reason;
|
|
|
|
/// <summary>
|
|
/// How many of the product to order
|
|
/// </summary>
|
|
[DataField]
|
|
public int OrderQuantity;
|
|
|
|
/// <summary>
|
|
/// How many of the product to order
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<CargoAccountPrototype> Account;
|
|
}
|