using Robust.Shared.GameStates; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Shared.Glue; /// /// This component gets attached to an item that has been glued. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause] [Access(typeof(GlueSystem))] public sealed partial class GluedComponent : Component { /// /// The TimeSpan this effect expires at. /// [DataField(customTypeSerializer: typeof(TimeOffsetSerializer))] [AutoNetworkedField, AutoPausedField] public TimeSpan Until; /// /// The duration this effect will last. Determined by the quantity of the reagent that is applied. /// [DataField(customTypeSerializer: typeof(TimeOffsetSerializer))] [AutoNetworkedField] public TimeSpan Duration; }