add thargoid kills to transaction parser

This commit is contained in:
2022-11-25 13:45:02 +01:00
parent 85848a7381
commit a49859b079
9 changed files with 137 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ public class FactionKillBondEntry : Entry {
/// <summary>
/// Reward given
/// </summary>
public int Reward { get; set; }
public ulong Reward { get; set; } = 0;
/// <summary>
/// Faction that awarded the kill bond
/// </summary>
@@ -23,7 +23,7 @@ public class FactionKillBondEntry : Entry {
public string? VictimFactionLocalised { get; set; }
protected override void Initialise() {
Reward = JSON.Value<int?>("Reward") ?? 0;
Reward = JSON.Value<ulong?>("Reward") ?? 0;
AwardingFaction = JSON.Value<string>("AwardingFaction");
AwardingFactionLocalised = JSON.Value<string>("AwardingFaction_Localised");
VictimFaction = JSON.Value<string>("VictimFaction");