2022-06-03 10:56:11 -05:00
|
|
|
|
namespace Content.Server.Cargo.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This is used for pricing stacks of items.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class StackPriceComponent : Component
|
2022-06-03 10:56:11 -05:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The price of the object this component is on, per unit.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("price", required: true)]
|
|
|
|
|
|
public double Price;
|
|
|
|
|
|
}
|