Persist entity cargo contents in typed snapshots

This commit is contained in:
Meta Vens 2026-06-14 15:32:41 +01:00
commit d462ec6942
10 changed files with 119 additions and 4 deletions

View file

@ -455,7 +455,10 @@ public static class AetheriaRuntimeCommitLogApplier
ActiveConsumables = ToActiveConsumables(entity.ActiveConsumables),
BehaviorProgress = ToBehaviorProgress(entity.BehaviorProgress),
WeaponStates = ToWeaponStates(entity.WeaponStates),
BehaviorStates = ToBehaviorStates(entity.BehaviorStates)
BehaviorStates = ToBehaviorStates(entity.BehaviorStates),
CargoContents = ToCargoBays(entity.CargoContents),
DockingBayContents = ToCargoBays(entity.DockingBayContents),
DockingBayAssignments = ToIntArray(entity.DockingBayAssignments)
};
}