using Robust.Shared.GameStates; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Shared._DV.Abilities; /// /// Spawns the item from after the coughing sound is finished. /// /// /// Client doesn't care about spawning so the field isn't networked. /// [RegisterComponent, NetworkedComponent, Access(typeof(ItemCougherSystem))] [AutoGenerateComponentPause] public sealed partial class CoughingUpItemComponent : Component { [DataField(customTypeSerializer: typeof(TimeOffsetSerializer))] [AutoPausedField] public TimeSpan NextCough; }