using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EDJournal { /** * This entry appears whenever a bounty is awarded. */ public class BountyEntry : Entry { private string victimfaction = null; private string target = null; private int rewards = 0; protected override void Initialise() { rewards = JSON.Value("TotalReward") ?? 0; victimfaction = JSON.Value("VictimFaction") ?? ""; target = JSON.Value("Target_Localised") ?? ""; } public string VictimFaction => victimfaction; public string Target => target; public int Rewards => rewards; } }