ValleySupplyBoxComponent.cs 613 B

1234567891011121314151617181920
  1. namespace Content.Server.GameTicking.Rules.Components;
  2. /// <summary>
  3. /// Marks an entity as a Valley supply box that can be delivered for points.
  4. /// </summary>
  5. [RegisterComponent, Access(typeof(ValleyPointsRuleSystem))]
  6. public sealed partial class ValleySupplyBoxComponent : Component
  7. {
  8. /// <summary>
  9. /// Whether this supply box has been delivered to a checkpoint.
  10. /// </summary>
  11. [DataField]
  12. public bool Delivered = false;
  13. /// <summary>
  14. /// The checkpoint this box is being secured at, if any.
  15. /// </summary>
  16. [DataField]
  17. public EntityUid? SecuringAtCheckpoint = null;
  18. }