2023-05-22 21:16:48 +03:00
|
|
|
|
using Content.Shared.GameTicking;
|
|
|
|
|
|
|
2024-01-28 18:18:54 +07:00
|
|
|
|
namespace Content.Server._White.Jukebox;
|
2023-05-22 21:16:48 +03:00
|
|
|
|
|
|
|
|
|
|
public sealed class ServerJukeboxSongsSyncSystem : EntitySystem
|
|
|
|
|
|
{
|
|
|
|
|
|
[Dependency] private readonly ServerJukeboxSongsSyncManager _jukeboxManager = default!;
|
|
|
|
|
|
|
|
|
|
|
|
public event Action? PostRoundCleanUp;
|
|
|
|
|
|
|
|
|
|
|
|
public override void Initialize()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.Initialize();
|
|
|
|
|
|
SubscribeLocalEvent<RoundRestartCleanupEvent>(_ => _jukeboxManager?.CleanUp());
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|