add merits to the log

This commit is contained in:
2025-04-16 15:09:56 +02:00
parent 693d49be14
commit 4cefc393b5
6 changed files with 50 additions and 38 deletions

View File

@@ -2,6 +2,14 @@
public class PowerplayMeritsEntry : Entry {
protected override void Initialise() {
// TODO
Power = JSON.Value<string?>("Power") ?? string.Empty;
MeritsGained = JSON.Value<long?>("MeritsGained") ?? 0;
TotalMerits = JSON.Value<long?>("TotalMerits") ?? 0;
}
public string Power { get; set; } = string.Empty;
public long MeritsGained { get; set; } = 0;
public long TotalMerits { get; set; } = 0;
}