Anomaly Generator Tweaks (#13856)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
|
||||
namespace Content.Server.Anomaly.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class GeneratingAnomalyGeneratorComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// When the generating period will end.
|
||||
/// </summary>
|
||||
[DataField("endTime", customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan EndTime = TimeSpan.Zero;
|
||||
|
||||
public IPlayingAudioStream? AudioStream;
|
||||
}
|
||||
Reference in New Issue
Block a user