1
0

GatewayGeneratorDestinationComponent.cs 863 B

12345678910111213141516171819202122232425262728293031323334353637
  1. namespace Content.Server.Gateway.Components;
  2. /// <summary>
  3. /// Destination created by <see cref="GatewayGeneratorComponent"/>
  4. /// </summary>
  5. [RegisterComponent]
  6. public sealed partial class GatewayGeneratorDestinationComponent : Component
  7. {
  8. /// <summary>
  9. /// Generator that created this destination.
  10. /// </summary>
  11. [DataField]
  12. public EntityUid Generator;
  13. /// <summary>
  14. /// Is the map locked from being used still or unlocked.
  15. /// Used in conjunction with the attached generator's NextUnlock.
  16. /// </summary>
  17. [DataField]
  18. public bool Locked = true;
  19. [DataField]
  20. public bool Loaded;
  21. /// <summary>
  22. /// Seed used for this destination.
  23. /// </summary>
  24. [DataField]
  25. public int Seed;
  26. /// <summary>
  27. /// Origin of the gateway.
  28. /// </summary>
  29. [DataField]
  30. public Vector2i Origin;
  31. }