get localised name for victim
This commit is contained in:
parent
5b9213cc92
commit
0e691b2116
@ -3,6 +3,7 @@
|
|||||||
public string CrimeType { get; set; }
|
public string CrimeType { get; set; }
|
||||||
public string Faction { get; set; }
|
public string Faction { get; set; }
|
||||||
public string Victim { get; set; }
|
public string Victim { get; set; }
|
||||||
|
public string VictimLocalised { get; set; }
|
||||||
public long Bounty { get; set; }
|
public long Bounty { get; set; }
|
||||||
public long Fine { get; set; }
|
public long Fine { get; set; }
|
||||||
|
|
||||||
@ -10,6 +11,7 @@
|
|||||||
CrimeType = JSON.Value<string>("CrimeType") ?? "assault";
|
CrimeType = JSON.Value<string>("CrimeType") ?? "assault";
|
||||||
Faction = JSON.Value<string>("Faction") ?? "";
|
Faction = JSON.Value<string>("Faction") ?? "";
|
||||||
Victim = JSON.Value<string>("Victim") ?? "";
|
Victim = JSON.Value<string>("Victim") ?? "";
|
||||||
|
VictimLocalised = JSON.Value<string>("Victim_Localised") ?? "";
|
||||||
Bounty = JSON.Value<long?>("Bounty") ?? 0;
|
Bounty = JSON.Value<long?>("Bounty") ?? 0;
|
||||||
Fine = JSON.Value<long?>("Fine") ?? 0;
|
Fine = JSON.Value<long?>("Fine") ?? 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user