AntagRandomSpawnComponent.cs 456 B

1234567891011121314151617
  1. using Robust.Shared.Map;
  2. namespace Content.Server.Antag.Components;
  3. /// <summary>
  4. /// Spawns this rule's antags at random tiles on a station using <c>TryGetRandomTile</c>.
  5. /// Requires <see cref="AntagSelectionComponent"/>.
  6. /// </summary>
  7. [RegisterComponent]
  8. public sealed partial class AntagRandomSpawnComponent : Component
  9. {
  10. /// <summary>
  11. /// Location that was picked.
  12. /// </summary>
  13. [DataField]
  14. public EntityCoordinates? Coords;
  15. }