Files
crystall-punk-14/Content.Server/Cargo/Components/CargoBountyLabelComponent.cs

29 lines
758 B
C#
Raw Permalink Normal View History

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;
}