CargoPalletConsoleComponent.cs 486 B

12345678910111213
  1. using Content.Server.Cargo.Systems;
  2. using Content.Shared.Stacks;
  3. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  4. namespace Content.Server.Cargo.Components;
  5. [RegisterComponent]
  6. [Access(typeof(CargoSystem))]
  7. public sealed partial class CargoPalletConsoleComponent : Component
  8. {
  9. [ViewVariables(VVAccess.ReadWrite), DataField("cashType", customTypeSerializer:typeof(PrototypeIdSerializer<StackPrototype>))]
  10. public string CashType = "Credit";
  11. }