30 lines
665 B
C#
30 lines
665 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Audio.Events;
|
|
|
|
/// <summary>
|
|
/// Event of changing lobby music playlist (on server).
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class LobbyPlaylistChangedEvent : EntityEventArgs
|
|
{
|
|
/// <inheritdoc />
|
|
public LobbyPlaylistChangedEvent(string[] playlist)
|
|
{
|
|
Playlist = playlist;
|
|
}
|
|
|
|
/// <summary>
|
|
/// List of soundtrack filenames for lobby playlist.
|
|
/// </summary>
|
|
public string[] Playlist;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Event of stopping lobby music.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class LobbyMusicStopEvent : EntityEventArgs
|
|
{
|
|
}
|