StaticPriceComponent.cs 389 B

1234567891011121314
  1. namespace Content.Server.Cargo.Components;
  2. /// <summary>
  3. /// This is used for setting a static, unchanging price for an object.
  4. /// </summary>
  5. [RegisterComponent]
  6. public sealed partial class StaticPriceComponent : Component
  7. {
  8. /// <summary>
  9. /// The price of the object this component is on.
  10. /// </summary>
  11. [DataField("price", required: true)]
  12. public double Price;
  13. }