ValleyCheckpointComponent.cs 635 B

1234567891011121314151617181920
  1. namespace Content.Server.GameTicking.Rules.Components;
  2. /// <summary>
  3. /// Marks an entity as a Valley checkpoint for supply box deliveries and control points.
  4. /// </summary>
  5. [RegisterComponent, Access(typeof(ValleyPointsRuleSystem))]
  6. public sealed partial class ValleyCheckpointComponent : Component
  7. {
  8. /// <summary>
  9. /// Whether this checkpoint is controlled by Blugoslavia.
  10. /// </summary>
  11. [DataField]
  12. public bool BlugoslaviaControlled = false;
  13. /// <summary>
  14. /// Supply boxes currently being secured at this checkpoint.
  15. /// </summary>
  16. [DataField]
  17. public List<EntityUid> SecuringBoxes = new();
  18. }