Loudspeaker
This commit is contained in:
17
Content.Server/_White/HopSpeaker/HopSpeakerComponent.cs
Normal file
17
Content.Server/_White/HopSpeaker/HopSpeakerComponent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Server._White.HopSpeaker;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class HopSpeakerComponent : Component
|
||||
{
|
||||
[DataField("delay")]
|
||||
public TimeSpan Delay = TimeSpan.FromSeconds(5);
|
||||
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
public TimeSpan DelayEnd = TimeSpan.Zero;
|
||||
|
||||
[DataField]
|
||||
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/White/Effects/dynamicNEXT_.ogg");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user