From 0e691b2116eef14f2889a69719fa258129e5209d Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Sat, 12 Feb 2022 16:08:49 +0100 Subject: [PATCH] get localised name for victim --- CommitCrimeEntry.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommitCrimeEntry.cs b/CommitCrimeEntry.cs index ded46ea..637c190 100644 --- a/CommitCrimeEntry.cs +++ b/CommitCrimeEntry.cs @@ -3,6 +3,7 @@ public string CrimeType { get; set; } public string Faction { get; set; } public string Victim { get; set; } + public string VictimLocalised { get; set; } public long Bounty { get; set; } public long Fine { get; set; } @@ -10,6 +11,7 @@ CrimeType = JSON.Value("CrimeType") ?? "assault"; Faction = JSON.Value("Faction") ?? ""; Victim = JSON.Value("Victim") ?? ""; + VictimLocalised = JSON.Value("Victim_Localised") ?? ""; Bounty = JSON.Value("Bounty") ?? 0; Fine = JSON.Value("Fine") ?? 0; }