1
0

JukeboxPrototype.cs 562 B

1234567891011121314151617181920212223
  1. using Robust.Shared.Audio;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Audio.Jukebox;
  4. /// <summary>
  5. /// Soundtrack that's visible on the jukebox list.
  6. /// </summary>
  7. [Prototype]
  8. public sealed partial class JukeboxPrototype : IPrototype
  9. {
  10. [IdDataField]
  11. public string ID { get; private set; } = string.Empty;
  12. /// <summary>
  13. /// User friendly name to use in UI.
  14. /// </summary>
  15. [DataField(required: true)]
  16. public string Name = string.Empty;
  17. [DataField(required: true)]
  18. public SoundPathSpecifier Path = default!;
  19. }