17 lines
551 B
C#
17 lines
551 B
C#
using Content.Shared.Mech.Equipment.Systems;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Mech.Equipment.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(MechSoundboardSystem))]
|
|
public sealed partial class MechSoundboardComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// List of sounds that can be played
|
|
/// </summary>
|
|
[DataField("sounds"), ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
|
public List<SoundCollectionSpecifier> Sounds = new();
|
|
}
|