fixed json parsing error on player death
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user