6
StarHorizon_Public/Content.Server/Cargo/Components/CargoBountyLabelComponent.cs
2025-08-05 10:00:54 +03:00

29 lines
758 B
C#

using Content.Server.Station.Systems;
namespace Content.Server.Cargo.Components;
/// <summary>
/// This is used for marking containers as
/// containing goods for fulfilling bounties.
/// </summary>
[RegisterComponent]
public sealed partial class CargoBountyLabelComponent : Component
{
/// <summary>
/// The ID for the bounty this label corresponds to.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public string Id = string.Empty;
/// <summary>
/// Used to prevent recursion in calculating the price.
/// </summary>
public bool Calculating;
/// <summary>
/// The Station System to check and remove bounties from
/// </summary>
[DataField]
public EntityUid? AssociatedStationId;
}