refactor(app): key live projections by runtime identity
Move materialized live-object sidecars and presentation worksets to exact RuntimeEntityKey ownership. Runtime remains the only GUID/incarnation/local-ID authority while hydration, animation, effects, lights, equipped children, renderer resources, visibility, liveness, and teardown resolve exact projection identities. Preserve synchronous callbacks, local-ID allocation order, and current rendering behavior.
This commit is contained in:
parent
e18df84437
commit
420e5eea70
73 changed files with 2939 additions and 1715 deletions
|
|
@ -40,12 +40,12 @@ public sealed class CurrentGameRuntimeAdapterTests
|
|||
Assert.Equal(Harness.PlayerGuid, harness.Identity.ServerGuid);
|
||||
Assert.Equal(RuntimeLifecycleState.InWorld, harness.Runtime.Lifecycle.State);
|
||||
|
||||
LiveEntityRegistrationResult registration =
|
||||
harness.Entities.RegisterLiveEntity(Spawn(
|
||||
LiveEntityRecord liveRecord =
|
||||
harness.Entities.RegisterAndMaterializeProjection(Spawn(
|
||||
Harness.TargetGuid,
|
||||
instance: 3,
|
||||
cell: 0x12340001u));
|
||||
Assert.NotNull(registration.Record);
|
||||
Assert.NotNull(liveRecord.WorldEntity);
|
||||
|
||||
var item = new ClientObject
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue