public record class RealmHandoffThe volatile simulation state, moved from one realm to another. Never the inventory.
Remarks
ADR-021: durable state moves by lease and stays in the database. What travels here is position, velocity, buffs with their remaining durations, cooldowns, combat state, the animation graph's position — everything whose loss would be a visible glitch and whose duplication would be worth nothing.
⚠ If this payload is lost, nothing durable is at risk. That is the property that makes an abort cheap, and it is why the split between this and the lease is the single most load-bearing decision in the document.
Fields and properties (4)
public PlayerKey PlayerWhose.
public long LeaseEpochThe epoch the target has taken. Every durable write it makes names this.
public long AtTickThe source tick the state was sampled at.
public ImmutableArray<byte> ComponentsThe encoded components, as the replication codec wrote them.
Methods (2)
public RealmHandoff(PlayerKey Player, long LeaseEpoch, long AtTick, ImmutableArray<byte> Components)The volatile simulation state, moved from one realm to another. Never the inventory.
public override string ToString()Returns a string that represents the current object.
Used by (2)
- HandoffCodecVixen.Live.Realm
- HandoffCodecTestsVixen.Live.Realm.Tests