Co-authored-by: iertis <kanopus952@gmail.com> Co-authored-by: Daniel | Orvex07 <d.b.orvex@gmail.com>
22 lines
846 B
C#
22 lines
846 B
C#
using Content.Shared.AbstractAnalyzer;
|
|
using Content.Shared.Damage.Prototypes;
|
|
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
|
|
{
|
|
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
|
[AutoPausedField]
|
|
public override TimeSpan NextUpdate { get; set; } = TimeSpan.Zero;
|
|
|
|
// Sunrise-start
|
|
[DataField(customTypeSerializer: typeof(PrototypeIdListSerializer<DamageContainerPrototype>))]
|
|
public List<string>? DamageContainers;
|
|
// Sunrise-end
|
|
}
|
|
|