fixed json parsing error on player death

This commit is contained in:
Chris Adamson
2025-04-05 12:32:28 -05:00
parent 99dec1c9a3
commit a198a609de
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 ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
Server/user/ Server/user/
SPTarkov.Server/user
SPTarkov.Server/Assets
# User-specific files # User-specific files
*.rsuser *.rsuser
@@ -1459,18 +1459,21 @@ public record DamageStats
public record DeathCause public record DeathCause
{ {
[JsonConverter(typeof(JsonStringEnumConverter))]
public DamageType? DamageType public DamageType? DamageType
{ {
get; get;
set; set;
} }
[JsonConverter(typeof(JsonStringEnumConverter))]
public PlayerSide? Side public PlayerSide? Side
{ {
get; get;
set; set;
} }
[JsonConverter(typeof(JsonStringEnumConverter))]
public WildSpawnType? Role public WildSpawnType? Role
{ {
get; get;