get localised name for victim

This commit is contained in:
Florian Stinglmayr 2022-02-12 16:08:49 +01:00
parent 5b9213cc92
commit 0e691b2116

View File

@ -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<string>("CrimeType") ?? "assault";
Faction = JSON.Value<string>("Faction") ?? "";
Victim = JSON.Value<string>("Victim") ?? "";
VictimLocalised = JSON.Value<string>("Victim_Localised") ?? "";
Bounty = JSON.Value<long?>("Bounty") ?? 0;
Fine = JSON.Value<long?>("Fine") ?? 0;
}