Persist faction relationships in run checkpoints

This commit is contained in:
Meta Vens 2026-06-14 12:02:47 +01:00
commit e0a39b2fce
8 changed files with 73 additions and 6 deletions

View file

@ -235,6 +235,9 @@ namespace GameCult.Aetheria.State.Unity
[Key(8)]
public IReadOnlyList<AetheriaRuntimeActionBarBindingCommit> ActionBarBindings { get; set; } = Array.Empty<AetheriaRuntimeActionBarBindingCommit>();
[Key(9)]
public IReadOnlyList<AetheriaRuntimeFactionRelationshipCommit> FactionRelationships { get; set; } = Array.Empty<AetheriaRuntimeFactionRelationshipCommit>();
}
[MessagePackObject]
@ -259,6 +262,19 @@ namespace GameCult.Aetheria.State.Unity
public int WeaponGroup { get; set; } = -1;
}
[MessagePackObject]
public sealed class AetheriaRuntimeFactionRelationshipCommit
{
[Key(0)]
public string CorporationLegacyId { get; set; } = "";
[Key(1)]
public string Relationship { get; set; } = "";
[Key(2)]
public double Standing { get; set; }
}
[MessagePackObject]
public sealed class AetheriaRuntimeZoneSnapshotCommit
{