LobbyBackgroundPrototype.cs 576 B

123456789101112131415161718192021
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Utility;
  3. namespace Content.Server.GameTicking.Prototypes;
  4. /// <summary>
  5. /// Prototype for a lobby background the game can choose.
  6. /// </summary>
  7. [Prototype]
  8. public sealed partial class LobbyBackgroundPrototype : IPrototype
  9. {
  10. /// <inheritdoc/>
  11. [IdDataField]
  12. public string ID { get; set; } = default!;
  13. /// <summary>
  14. /// The sprite to use as the background. This should ideally be 1920x1080.
  15. /// </summary>
  16. [DataField("background", required: true)]
  17. public ResPath Background = default!;
  18. }