19 lines
659 B
C#
19 lines
659 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Shared.SprayPainter.Components;
|
|
|
|
/// <summary>
|
|
/// Used to mark an entity that has been repainted.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentState, AutoGenerateComponentPause]
|
|
public sealed partial class PaintedComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The time after which the entity is dried and does not appear as "freshly painted".
|
|
/// </summary>
|
|
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoNetworkedField, AutoPausedField]
|
|
public TimeSpan DryTime;
|
|
}
|