1
0

ReagentTankComponent.cs 614 B

12345678910111213141516171819202122
  1. using Content.Shared.FixedPoint;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Serialization;
  4. namespace Content.Shared.Chemistry.Components;
  5. [RegisterComponent, NetworkedComponent]
  6. public sealed partial class ReagentTankComponent : Component
  7. {
  8. [DataField, ViewVariables(VVAccess.ReadWrite)]
  9. public FixedPoint2 TransferAmount { get; set; } = FixedPoint2.New(10);
  10. [DataField, ViewVariables(VVAccess.ReadWrite)]
  11. public ReagentTankType TankType { get; set; } = ReagentTankType.Unspecified;
  12. }
  13. [Serializable, NetSerializable]
  14. public enum ReagentTankType : byte
  15. {
  16. Unspecified,
  17. Fuel
  18. }