Rename zone-state orbit and body ids to keys

This commit is contained in:
Meta Vens 2026-06-16 17:03:59 +01:00
commit c0aec84af4
7 changed files with 131 additions and 27 deletions

View file

@ -290,10 +290,10 @@ public sealed class AetheriaDroppedPickupSnapshot
public sealed class AetheriaOrbitSnapshot
{
[Key(0)]
public string OrbitId { get; set; } = "";
public string OrbitKey { get; set; } = "";
[Key(1)]
public string ParentId { get; set; } = "";
public string ParentOrbitKey { get; set; } = "";
[Key(2)]
public double Distance { get; set; }
@ -309,7 +309,7 @@ public sealed class AetheriaOrbitSnapshot
public sealed class AetheriaBodySnapshot
{
[Key(0)]
public string BodyId { get; set; } = "";
public string BodyKey { get; set; } = "";
[Key(1)]
public string Kind { get; set; } = "";
@ -318,7 +318,7 @@ public sealed class AetheriaBodySnapshot
public string Name { get; set; } = "";
[Key(3)]
public string OrbitId { get; set; } = "";
public string OrbitKey { get; set; } = "";
[Key(4)]
public double Mass { get; set; }