using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Server.Chemistry.Components; /// /// Used for embeddable entities that should try to inject a /// contained solution into a target over time while they are embbeded into. /// [RegisterComponent, AutoGenerateComponentPause] public sealed partial class SolutionInjectWhileEmbeddedComponent : BaseSolutionInjectOnEventComponent { /// ///The time at which the injection will happen. /// [DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoPausedField] public TimeSpan NextUpdate; /// ///The delay between each injection in seconds. /// [DataField] public TimeSpan UpdateInterval = TimeSpan.FromSeconds(3); }