Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HealthConfig.cs
T
Jesse ff1dfa54ae Do a small pass on SPT's config's to reduce warnings and cleanup (#348)
* Do a small pass on SPT's config's to reduce warnings and cleanup

* Revert

* Revert EFT models

* Set list as null
2025-06-04 14:46:52 +01:00

62 lines
950 B
C#

using System.Text.Json.Serialization;
namespace SPTarkov.Server.Core.Models.Spt.Config;
public record HealthConfig : BaseConfig
{
[JsonPropertyName("kind")]
public override string Kind
{
get;
set;
} = "spt-health";
[JsonPropertyName("healthMultipliers")]
public required HealthMultipliers HealthMultipliers
{
get;
set;
}
[JsonPropertyName("save")]
public required HealthSave Save
{
get;
set;
}
}
public record HealthMultipliers
{
[JsonPropertyName("death")]
public double Death
{
get;
set;
}
[JsonPropertyName("blacked")]
public double Blacked
{
get;
set;
}
}
public record HealthSave
{
[JsonPropertyName("health")]
public bool Health
{
get;
set;
}
[JsonPropertyName("effects")]
public bool Effects
{
get;
set;
}
}