Files
SPT-Server-Build/Libraries/Core/Models/Spt/Config/HealthConfig.cs
T
2025-02-07 19:36:17 +00:00

62 lines
907 B
C#

using System.Text.Json.Serialization;
namespace Core.Models.Spt.Config;
public record HealthConfig : BaseConfig
{
[JsonPropertyName("kind")]
public string Kind
{
get;
set;
} = "spt-health";
[JsonPropertyName("healthMultipliers")]
public HealthMultipliers HealthMultipliers
{
get;
set;
}
[JsonPropertyName("save")]
public 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;
}
}