19 lines
590 B
C#
19 lines
590 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Shared._DV.CosmicCult.Components;
|
|
|
|
/// <summary>
|
|
/// Component for targets being cleansed of corruption.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentPause]
|
|
public sealed partial class CleanseCultComponent : Component
|
|
{
|
|
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
|
[AutoPausedField]
|
|
public TimeSpan CleanseTime = default!;
|
|
|
|
[DataField] public TimeSpan CleanseDuration = TimeSpan.FromSeconds(25);
|
|
}
|