Files

18 lines
453 B
C#
Raw Permalink Normal View History

2023-05-04 13:43:03 +06:00
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared._White.Jukebox;
2023-05-04 13:43:03 +06:00
[RegisterComponent, NetworkedComponent]
2024-01-13 12:24:00 +03:00
public sealed partial class TapeComponent : Component
2023-05-04 13:43:03 +06:00
{
[DataField("songs")]
public List<JukeboxSong> Songs { get; set; } = new();
}
[Serializable, NetSerializable]
2024-01-13 12:24:00 +03:00
public sealed partial class TapeComponentState : ComponentState
2023-05-04 13:43:03 +06:00
{
public List<JukeboxSong> Songs { get; set; } = new();
}