19 lines
807 B
C#
19 lines
807 B
C#
using Content.Server.AbstractAnalyzer;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
|
|
|
namespace Content.Server.Medical.Components;
|
|
|
|
/// <inheritdoc/>
|
|
[RegisterComponent, AutoGenerateComponentPause]
|
|
[Access(typeof(HealthAnalyzerSystem), typeof(CryoPodSystem))]
|
|
public sealed partial class HealthAnalyzerComponent : AbstractAnalyzerComponent
|
|
{
|
|
/// <inheritdoc/>
|
|
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
|
[AutoPausedField]
|
|
public override TimeSpan NextUpdate { get; set; } = TimeSpan.Zero;
|
|
|
|
[DataField("damageContainers", customTypeSerializer: typeof(PrototypeIdListSerializer<DamageContainerPrototype>))]
|
|
public List<string>? DamageContainers;
|
|
}
|