Persist faction relationships in run checkpoints
This commit is contained in:
parent
0115d8048a
commit
e0a39b2fce
8 changed files with 73 additions and 6 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue