Restore canonical ship home identity
This commit is contained in:
parent
bc7596855c
commit
3a05d1a143
3 changed files with 8 additions and 0 deletions
|
|
@ -2529,6 +2529,7 @@ static AetheriaRuntimeEntitySnapshotCommit ToRuntimeEntity(
|
|||
var runtimeEntity = new AetheriaRuntimeEntitySnapshotCommit
|
||||
{
|
||||
EntityId = entityKey ?? "",
|
||||
HomeEntityId = entity.HomeEntityKey ?? "",
|
||||
EntityIndex = entityIndex,
|
||||
Name = entity.Name ?? "",
|
||||
Kind = entity.Kind ?? "",
|
||||
|
|
|
|||
|
|
@ -600,6 +600,10 @@ public sealed class AetheriaEntitySnapshot
|
|||
|
||||
[Key(29)]
|
||||
public AetheriaEntityContactSnapshot[] Contacts { get; set; } = [];
|
||||
|
||||
[Key(30)]
|
||||
[CultReference(typeof(AetheriaEntitySnapshot))]
|
||||
public string HomeEntityKey { get; set; } = "";
|
||||
}
|
||||
|
||||
[MessagePackObject]
|
||||
|
|
|
|||
|
|
@ -958,6 +958,9 @@ namespace GameCult.Aetheria.State.Verse
|
|||
|
||||
[Key(42)]
|
||||
public string EntityId { get; set; } = "";
|
||||
|
||||
[Key(43)]
|
||||
public string HomeEntityId { get; set; } = "";
|
||||
}
|
||||
|
||||
[MessagePackObject]
|
||||
|
|
|
|||
Loading…
Reference in a new issue