namespace EDPlayerJournal.Entries;
public class FactionKillBondEntry : Entry {
///
/// Reward given
///
public ulong Reward { get; set; } = 0;
///
/// Faction that awarded the kill bond
///
public string? AwardingFaction { get; set; }
///
/// Localised string of the awarding faction if available
///
public string? AwardingFactionLocalised { get; set; }
///
/// Victim faction, internal name
///
public string? VictimFaction { get; set; }
///
/// Localised name of the victim faction
///
public string? VictimFactionLocalised { get; set; }
protected override void Initialise() {
Reward = JSON.Value("Reward") ?? 0;
AwardingFaction = JSON.Value("AwardingFaction");
AwardingFactionLocalised = JSON.Value("AwardingFaction_Localised");
VictimFaction = JSON.Value("VictimFaction");
VictimFactionLocalised = JSON.Value("VictimFaction_Localised");
}
}