using Content.Server.Objectives.Systems; namespace Content.Server.Objectives.Components; /// /// Limits the number of traitors that can have the same objective. /// Checked by the prototype id, so only considers the exact same objectives. /// /// /// Only works for traitors so don't use for anything else. /// [RegisterComponent, Access(typeof(ObjectiveLimitSystem))] public sealed partial class ObjectiveLimitComponent : Component { /// /// Max number of players /// [DataField(required: true), ViewVariables(VVAccess.ReadWrite)] public uint Limit; }