using Robust.Shared.Analyzers; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Server._DV.Autoclave; /// /// A component that will cause powered locker entities to clean their contents periodically /// [RegisterComponent, AutoGenerateComponentPause, Access(typeof(AutoclaveSystem))] public sealed partial class AutoclaveComponent : Component { /// /// The next time that items inside the autoclave will be cleaned /// [DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoPausedField] public TimeSpan NextUpdate; /// /// How often to clean contained items /// [DataField] public TimeSpan UpdateInterval = TimeSpan.FromSeconds(1); }