2023-05-04 13:43:03 +06:00
|
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
|
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();
|
|
|
|
|
|
}
|