using Content.Shared.Damage; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Shared._Offbrand.StatusEffects; [RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause] [Access(typeof(DamageOverTimeStatusEffectSystem))] public sealed partial class DamageOverTimeStatusEffectComponent : Component { [DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoNetworkedField, AutoPausedField] public TimeSpan NextUpdate; [DataField] public TimeSpan UpdateInterval = TimeSpan.FromSeconds(1); [DataField(required: true)] public DamageSpecifier Damages; }