using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Anomaly.Components;
///
/// This component tracks anomalies that are currently pulsing
///
[RegisterComponent, Access(typeof(SharedAnomalySystem)), AutoGenerateComponentPause]
public sealed partial class AnomalyPulsingComponent : Component
{
///
/// The time at which the pulse will be over.
///
[DataField("endTime", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
[AutoPausedField]
public TimeSpan EndTime;
///
/// How long the pulse visual lasts
///
[ViewVariables(VVAccess.ReadWrite)]
public TimeSpan PulseDuration = TimeSpan.FromSeconds(5);
}