using Content.Shared.Cargo; namespace Content.Server.Cargo.Components; /// /// Stores all active cargo bounties for a particular station. /// [RegisterComponent] public sealed partial class StationCargoBountyDatabaseComponent : Component { /// /// Maximum amount of bounties a station can have. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public int MaxBounties = 5; /// /// A list of all the bounties currently active for a station. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public List Bounties = new(); /// /// Used to determine unique order IDs /// [DataField] public int TotalBounties; /// /// A list of bounty IDs that have been checked this tick. /// Used to prevent multiplying bounty prices. /// [DataField] public HashSet CheckedBounties = new(); }