using Content.Shared.Cargo;
namespace Content.Server.Cargo.Components;
///
/// Stores all active cargo bounties for a particular station.
///
[RegisterComponent]
public sealed class StationCargoBountyDatabaseComponent : Component
{
///
/// Maximum amount of bounties a station can have.
///
[DataField("maxBounties"), ViewVariables(VVAccess.ReadWrite)]
public int MaxBounties = 3;
///
/// A list of all the bounties currently active for a station.
///
[DataField("bounties"), ViewVariables(VVAccess.ReadWrite)]
public List Bounties = new();
///
/// Used to determine unique order IDs
///
[DataField("totalBounties")]
public int TotalBounties;
///
/// The minimum amount of time the bounty lasts before being removed.
///
[DataField("minBountyTime"), ViewVariables(VVAccess.ReadWrite)]
public float MinBountyTime = 600f;
///
/// The maxmium amount of time the bounty lasts before being removed.
///
[DataField("maxBountyTime"), ViewVariables(VVAccess.ReadWrite)]
public float MaxBountyTime = 905f;
}