Merge pull request #118 from cp89gamedev/hotfix/deatcause-enum-parsing-fix

fixed json parsing error on player death
This commit is contained in:
Chomp
2025-04-05 18:42:52 +01:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
Server/user/
SPTarkov.Server/user
SPTarkov.Server/Assets
# User-specific files
*.rsuser
@@ -1459,18 +1459,21 @@ public record DamageStats
public record DeathCause
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public DamageType? DamageType
{
get;
set;
}
[JsonConverter(typeof(JsonStringEnumConverter))]
public PlayerSide? Side
{
get;
set;
}
[JsonConverter(typeof(JsonStringEnumConverter))]
public WildSpawnType? Role
{
get;