commit crime also sometimes has a Fine entry
This commit is contained in:
parent
96dc1a5c2f
commit
370cd09866
@ -4,12 +4,14 @@
|
|||||||
public string Faction { get; set; }
|
public string Faction { get; set; }
|
||||||
public string Victim { get; set; }
|
public string Victim { get; set; }
|
||||||
public long Bounty { get; set; }
|
public long Bounty { get; set; }
|
||||||
|
public long Fine { get; set; }
|
||||||
|
|
||||||
protected override void Initialise() {
|
protected override void Initialise() {
|
||||||
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") ?? "";
|
||||||
Bounty = JSON.Value<int?>("Bounty") ?? 0;
|
Bounty = JSON.Value<long?>("Bounty") ?? 0;
|
||||||
|
Fine = JSON.Value<long?>("Fine") ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsMurder {
|
public bool IsMurder {
|
||||||
|
Loading…
Reference in New Issue
Block a user