Files
OldThink/Content.Server/Anomaly/Components/GeneratingAnomalyGeneratorComponent.cs

18 lines
562 B
C#
Raw Normal View History

2023-03-23 01:53:32 -04:00
using Content.Shared.Anomaly;
using Robust.Shared.Audio;
2023-02-06 14:53:59 -05:00
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Server.Anomaly.Components;
2023-03-23 01:53:32 -04:00
[RegisterComponent, Access(typeof(SharedAnomalySystem))]
2023-02-06 14:53:59 -05:00
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;
}