using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Shared.Glue; [RegisterComponent] [Access(typeof(SharedGlueSystem))] public sealed partial class GluedComponent : Component { /// /// Reverts name to before prefix event (essentially removes prefix). /// [DataField("beforeGluedEntityName"), ViewVariables(VVAccess.ReadOnly)] public string BeforeGluedEntityName = string.Empty; [DataField("until", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)] public TimeSpan Until; [DataField("duration", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)] public TimeSpan Duration; }