1
0

GluedComponent.cs 507 B

123456789101112131415
  1. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
  2. namespace Content.Shared.Glue;
  3. [RegisterComponent]
  4. [Access(typeof(SharedGlueSystem))]
  5. public sealed partial class GluedComponent : Component
  6. {
  7. [DataField("until", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
  8. public TimeSpan Until;
  9. [DataField("duration", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
  10. public TimeSpan Duration;
  11. }