namespace EDJournal { public class CommitCrimeEntry : Entry { private string crimetype = "assault"; private string faction; private string victim; private int bounty = 0; public string CrimeType => crimetype; public string Faction => faction; public string Victim => victim; public int Bounty => bounty; protected override void Initialise() { crimetype = JSON.Value("CrimeType") ?? "assault"; faction = JSON.Value("Faction") ?? ""; victim = JSON.Value("Victim") ?? ""; bounty = JSON.Value("Bounty") ?? 0; } } }