16 lines
507 B
C#
16 lines
507 B
C#
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Shared.Glue;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(SharedGlueSystem))]
|
|
public sealed partial class GluedComponent : Component
|
|
{
|
|
|
|
[DataField("until", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
|
|
public TimeSpan Until;
|
|
|
|
[DataField("duration", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
|
|
public TimeSpan Duration;
|
|
}
|